Commit Graph

32 Commits

Author SHA1 Message Date
absidue 2cd8f0f2d3
Switch from Vue.extend to defineComponent (#3066) 2023-01-18 08:50:02 +01:00
Simon Epstein 7c4dfefb45
Remove select-on-focus from ft-input (#2974)
* 2622 Remove select-on-focus behaviour from ft-input.

Replace this with show-clear-text-button.

* 2622 Make channel search a little wider so placeholder not truncated.

Co-authored-by: Simon Epstein <simon.epstein@67bricks.com>
2022-12-19 13:01:09 +00:00
petaded f33f14268f
Option to hide videos from certain channels (#2849)
* add logic to hide channels

* Add new ft-input-tags ui element and use this for channel hiding

* remove unused tooltip code

* Add tooltip to the ft-input-tags and the new setting

* Add spacer between toggle options and ft-flex-box

* Swap to stringify from semicolon + add focus to label

* Simplify the input_tags code + rename setting to channelsHidden

* Fix issue shown by linter

* Recentralize input button + fix tooltip for small windows

* Improve accessiblity

* fix hiding playlist when channel ID entered

* pass tag directly to removeTag function

Co-authored-by: petaded <code@zikl.co.uk>
Co-authored-by: petaded <petaded@zikl.co.uk>
2022-12-17 16:49:44 +01:00
Simon Epstein dbb54737c4
Password protect settings (#2932)
* Hide unsubscribe button on channel list if this is set in parental
controls.

* Fix github linting errors

* Removed trailing whitespace.

* Reverted yarn.lock change

* Remove package-lock.json

* Added support for password protecting settings.

* Push password handling code inside password-settings component.

* Added incorrect password message

* Replace update method with watch.

* Use updateSettingsPassword to commit value to database.

* Move password settings to the bottom (review comment)

* Moved unlock into separate component (review feedback)

* Styling password dialog

* Removed incorrect (and unused) prop value - review comment.

* Removed unused component imports

Co-authored-by: Simon Epstein <simon.epstein@67bricks.com>
2022-12-17 15:28:17 +01:00
PikachuEXE 5603b40301
! Fix enter on input doesn't work with empty visible data list (#2966) 2022-12-15 17:57:00 +01:00
ChunkyProgrammer 083ae0e622
fix error when searching (#2960) 2022-12-14 07:55:29 +01:00
ChunkyProgrammer c6e4221966
Fix ft-input keyboard naviagation (#2943) 2022-12-13 21:36:18 +01:00
absidue 5b67803c32
Add ft-input enter listener the vue way (#2879) 2022-11-21 07:37:38 +01:00
PikachuEXE 21371eec1a
* Update search in new window function to also copy original query text to new window search input (#2637) 2022-09-29 21:22:28 +00:00
Emma b722435a88
Calling updateVisibleDataList on inputData update (#2601) 2022-09-21 08:01:00 +02:00
Malik c1ff6587ad
#2512: Update search suggestions on input (#2567)
* #2512: Update visible data list on input

* #2512: Remove excessive visible data list update on input
2022-09-13 04:18:05 +00:00
absidue eaa15ea833
Webpack bundle dependencies (#2511)
* Allow webpack to bundle *most* dependencies

* Exclude *most* node_modules from getting packaged by electron-builder

* Import only the required icons instead of bundling the whole icon pack

* Reduce packaging blacklist to only include the few things that still need blacklisting
2022-09-06 02:29:10 +00:00
PikachuEXE cb63b12caf
Update top nav search input to open new window on shift click/enter (#2427)
* * Update search input shift click to open new window

* - Remove unused import

Probably auto added by IDE...
2022-08-29 09:40:42 +00:00
absidue 60d07aa99d
Fixes search suggestion issues with arrow keys (#2370)
* Fix cursor moving while cycling through search suggestions

* Fix the search suggestions changing for all keyboard events

* Remove use of deprecated event.keyCode
2022-07-09 19:30:57 +02:00
bob1520 3ccdf56699
search suggestion out of index (#2353) 2022-07-01 16:29:10 +08:00
bob1520 63442282a9
clear filter in userplaylists and history when clicked "clear input" (#2349) 2022-06-24 23:53:17 +02:00
vallode 31bb187bbd
Clean up ft-input for top-nav (#2279)
* Clean up ft-input for top-nav

* Even out padding on ft-input

* Remove difference in in/out transitions for input

* Alternative solution to showing clear text button

* Keep clear text button visible if applicable

* Fix typo
2022-06-01 16:44:46 +08:00
vallode b202ec85e5
Remove input event emitting to reset search field (#2108) 2022-05-13 09:16:14 +08:00
ChunkyProgrammer e681772192
Feat: Invidious instance autofill (#1784)
* filter invidious instances

* remove watch for value

* update list on mount

* hide on misspell + empty

* Fix spelling mistake

* minor fix

* remove "Clear" to "from." from locale  files
2021-10-05 13:58:35 +08:00
PikachuEXE 87e1093c4d
Update top nav input box action button icon depends on input (#1738)
* Rename `showArrow` to `showActionButton`

* * Display different icon for action button when input text look like a Youtube URL

* ! Fix transition for button appearing absent

* * Update to use new icon for all FT supported URLs

* Update src/renderer/components/ft-input/ft-input.js

Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>

* * Update action button to look disabled when input text is empty

* * Disable button hover/active visual effect when "disabled"

* * Make action button only respond to cursor when enabled

Co-authored-by: Jason <84899178+jasonhenriquez@users.noreply.github.com>
2021-10-01 07:38:33 +00:00
PikachuEXE 56b562966f
Focus in input after text clear (#1669)
* * Focus in input after text clear

* "makes the button disappear after clicking"

* animation

* Fix button title text

* Really remove/hide the button after CSS animation

* Fix hovered button overlapping text input box

* Fix incorrect initial value
2021-09-23 06:45:14 +00:00
PikachuEXE be58077025
* Improve style of top nav search input (#1392)
* * Improve style of top nav search input

* Implement clear input text on input

* ! Fix to only have top nav input to add new clear text box button

* * Update button design & fix accessibility flaw

* * Update spacing of new button

* * Update input box padding-left to use the same value as padding-right

* * Updating button padding
2021-09-06 10:09:11 +00:00
PikachuEXE 9acafc7292
* Update top nav search input to disable spellcheck (#1346) 2021-06-15 14:42:37 +00:00
Svallinn 1fd08af136
Select search text on focus (#1201) 2021-04-15 21:30:26 +02:00
Imperial-Dragon 30cfc4c1a3 added autofill for searchbar 2021-01-18 22:25:59 +05:30
Preston f12b85e4f4 Add tooltips and context to the settings page 2020-10-19 11:32:53 -04:00
Preston 0a612ae0e7 Create Profile Edit Page 2020-09-01 23:21:32 -04:00
Preston 4e92b378da Check for and remove all trailing commas 2020-08-04 22:18:39 -04:00
Preston 0428891773 Fix ft-input from rewriting itself when search suggestions are active 2020-06-19 15:58:59 -04:00
Preston c8da6fec3d Add Search Suggestions and Custom Invidious Instance 2020-06-01 22:42:29 -04:00
Preston 77e7168c73 Full Theme Support and More Settings are Functional 2020-02-29 22:37:02 -05:00
Preston ded6534d16 Push Latest Code to Repository 2020-02-16 13:30:00 -05:00