-
Notifications
You must be signed in to change notification settings - Fork 414
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
Revamp search filters #5742
Revamp search filters #5742
Conversation
Nice, bob is testing this. |
bc9ae49
to
55a6c9b
Compare
|
9fcf5dc
to
eb18680
Compare
No more known pending changes at this moment. |
|
c1bd8c9
to
e2b8685
Compare
|
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.
This looks great. Just one comment/question.
ui/page/search/index.js
Outdated
|
||
return { | ||
isSearching: selectIsSearching(state), | ||
showNsfw: showMature, | ||
uris: uris, | ||
isAuthenticated: selectUserVerifiedEmail(state), | ||
searchOptions: selectSearchOptions(state), | ||
isQueryMaxed: isQueryMaxed, |
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.
maybe something like hasReachedMaxResultsLength
?
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.
Sounds good. Also, I'll rebase to fix the conflict
I will do a styling pass and push up a commit. Then it can be merged. |
- This change makes it work for both Desktop and Odysee. When merging back to Odysee, just take the file from `master` (barring any changes from someone else). - Given that we'll be opening up the search filter for Odysee, the only "simple site" customization that was back-ported is `free_only=true`.
## Issue 4945: Simplify / revamp search filters for odysee (and lbry.tv) ## Changes - Tweaked the "claim type = file | channel | everything" a little to hopefully make it more intuitive. - Added "Sort By". - Added "Upload Date". - Fixed the affected files to handle both Desktop and Odysee. - Tweaked the layout to be more condensed so that we can see some results as we change the filter. - Added animations. - Added "Exact match" option that helps user to surround with quotes.
Requires further work in IAPI
e2b8685
to
ee5815c
Compare
@seanyesmunt feel free to add the GUI pass commits, but hold off the merge due to the bug. |
@seanyesmunt,
|
Issue
Closes #4945: Simplify / revamp search filters for odysee (and lbry.tv)
"Infinite scroll" will be attempted in another PR.AddedMerging notes
ui/util/query-param.js
ui/component/searchOptions/view.jsx
When merging into Odysee, solve the conflict for the above 2 files by simply taking the
master
version directly. It has been updated to handleSIMPLE_SITE
.Changes
claim type = file | channel | everything
widget a little to hopefully make it more intuitive.Differences with Odysee
This will happen automatically when merged to Odysee:
"Result Count" will be hiddenNo more "results count" for all platforms after adding infinite scroll.Click to expand...