-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update ft-input for top navbar search input to behave more like Youtube one #3793
Update ft-input for top navbar search input to behave more like Youtube one #3793
Conversation
In the video under the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moving with the left or right key
Current behavior:
Removes search suggestion
VirtualBoxVM_sImYBqMdsm.mp4
Expected behavior:
Doesnt remove search suggestion
firefox_YTy235aGO7.mp4
Clicking on searchbar will show previous hovered on search suggestion in the searchbar: Current behavior: Is showing previous hovered on search suggestion when u click on it VirtualBoxVM_CCVq1mRi5W.mp4Expected behavior: Previous hovered search sugestion remains in the searchbar. Important note when u click on the searchbar u will see the search results of firefox_qOnkxqXG6e.mp4 |
Clearing searchbar doenst work on a search suggestion? VirtualBoxVM_lu6fyd8LhB.mp4 |
Switched back a few versions because something else looked off to me in this PR. Current behavior:
VirtualBoxVM_SYv9Ew3QVM.mp4Expected behavior: firefox_DxVVMyZBNa.mp4 |
In short the expected behaviour is whatever YT is doing... |
77ce360
to
fe0c0a6
Compare
" |
Yeah, we were doing all this in the past but idk what happened. Thats why i requested so many changes.
Yes please, i think i also requested this but cant find it because i requested allot or maybe i wanted to request it. idk anymore.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- When i press spacebar on a search suggestion it should generate new search suggestions based on the one i pressed spacebar one
VirtualBoxVM_MCZK7QKbXJ.mp4
firefox_tRBGLW7JGK.mp4
- Moving with the left or right key
Current behavior:
Removes search suggestion
VirtualBoxVM_sImYBqMdsm.mp4
Expected behavior:
Doesnt remove search suggestion
firefox_YTy235aGO7.mp4
- clearing searchbar when searchsuggestion replaced original keyword doenst work
VirtualBoxVM_RVd2lztIri.mp4
I think I fixed all 3 Maybe retest previous stuff too :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything is working flawlessly, LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't mean to approve
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested it and couldn't find any problems. Please fix that unused import linter warning please though.
src/renderer/helpers/utils.js
Outdated
|
||
import { isNullOrEmpty } from './strings' | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like the linter warning about this import being unused in this file is correct.
import { isNullOrEmpty } from './strings' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WIP change that I forgot to remove before committing
Removed now
@ChunkyProgrammer Chunky power needed |
* development: (33 commits) Miscellaneous CSS cleanup (FreeTubeApp#3847) Fix empty channels showing up as errored with RSS (FreeTubeApp#3824) Fix author for album playlists on the playlist page (FreeTubeApp#3838) Update Snap Source Host Location (FreeTubeApp#3844) * Show error message in popular tab when instance does not support it (FreeTubeApp#3841) Use video durations from the watch history for RSS (FreeTubeApp#3839) ! Fix unnecessary error message display in toast when paused before video started playing on load (FreeTubeApp#3835) Use emit and props instead of $parent (FreeTubeApp#3834) Add custom toast event bus for Vue 3 compatiblity (FreeTubeApp#3833) Fix handling of DeArrow titles (FreeTubeApp#3825) * Update top nav bar icon to remove focus state style (FreeTubeApp#3792) Update ft-input for top navbar search input to behave more like Youtube one (FreeTubeApp#3793) Translated using Weblate (Hungarian) Fix: importing subscriptions with terminated channels (FreeTubeApp#3816) Fix outdated subscription cache clearing code when "Remove All Subscriptions / Profiles" performed (FreeTubeApp#3817) Translated using Weblate (Croatian) Bump eslint-plugin-import from 2.27.5 to 2.28.0 (FreeTubeApp#3827) Bump eslint from 8.45.0 to 8.46.0 (FreeTubeApp#3829) Bump eslint-plugin-unicorn from 48.0.0 to 48.0.1 (FreeTubeApp#3828) Bump lefthook from 1.4.6 to 1.4.7 (FreeTubeApp#3830) ... # Conflicts: # src/renderer/components/ft-list-video/ft-list-video.js # src/renderer/components/playlist-info/playlist-info.js # src/renderer/components/playlist-info/playlist-info.vue # src/renderer/components/watch-video-info/watch-video-info.js
* feature/playlist-2023-05: (31 commits) Miscellaneous CSS cleanup (FreeTubeApp#3847) Fix empty channels showing up as errored with RSS (FreeTubeApp#3824) Fix author for album playlists on the playlist page (FreeTubeApp#3838) Update Snap Source Host Location (FreeTubeApp#3844) * Show error message in popular tab when instance does not support it (FreeTubeApp#3841) Use video durations from the watch history for RSS (FreeTubeApp#3839) ! Fix unnecessary error message display in toast when paused before video started playing on load (FreeTubeApp#3835) Use emit and props instead of $parent (FreeTubeApp#3834) Add custom toast event bus for Vue 3 compatiblity (FreeTubeApp#3833) Fix handling of DeArrow titles (FreeTubeApp#3825) * Update top nav bar icon to remove focus state style (FreeTubeApp#3792) Update ft-input for top navbar search input to behave more like Youtube one (FreeTubeApp#3793) Translated using Weblate (Hungarian) Fix: importing subscriptions with terminated channels (FreeTubeApp#3816) Fix outdated subscription cache clearing code when "Remove All Subscriptions / Profiles" performed (FreeTubeApp#3817) Translated using Weblate (Croatian) Bump eslint-plugin-import from 2.27.5 to 2.28.0 (FreeTubeApp#3827) Bump eslint from 8.45.0 to 8.46.0 (FreeTubeApp#3829) Bump eslint-plugin-unicorn from 48.0.0 to 48.0.1 (FreeTubeApp#3828) Bump lefthook from 1.4.6 to 1.4.7 (FreeTubeApp#3830) ...
Pull Request Type
Related issue
Fixes #3068
Description
Update ft-input for top navbar search input to behave more like Youtube one
Fixes "searchbar isnt grabbing the words in the suggestion list"
Screenshots
Screen.Recording.2023-07-19.at.14.58.11.mov
Testing
A. Search bar input
B. Other inputs
Desktop
Additional context