-
-
Notifications
You must be signed in to change notification settings - Fork 208
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
feat(search): add search #345
Conversation
Kudos, SonarCloud Quality Gate passed!
|
Converted back to draft, as it needs additional UI design, since I'm not happy with the way this looks. |
This probably should be in it's own discussion thread but: What about renaming "People" tab to whatever category those "People" fall in? Just like current web, where they appear as "Artists" and "People". Imo, we should have three categories:
Although we don't have this feature yet, we shouldn't mix people's faces from photo libraries with the ones of movies/music/TV Shows. I don't know how this is currently implemented but we don't have to add tabs when there are no items that match the query, so this shouldn't increase the UI's weight. Again, this is completely unnecessary to do right now, but I think it's better if we do it this way since the beginning, instead of getting users "accostumed" to it later. |
I don't know if it is difficult to add, but would it be possible also include tags into the search? |
Codecov Report
@@ Coverage Diff @@
## master #345 +/- ##
=======================================
Coverage 53.41% 53.41%
=======================================
Files 24 24
Lines 863 863
Branches 151 151
=======================================
Hits 461 461
Misses 390 390
Partials 12 12 Continue to review full report at Codecov.
|
Maybe we should replace the skeleton loader while searching with a spinning circle? There's a lot of jumpiness when searching for music, for instance. |
I'm thinking about getting rid of the loader entirely, actually. I think we should be able to combine This should make the experience a little better. |
7545d64
to
7692660
Compare
@ferferga I've got it to a good enough state to be reviewed, any improvements based on the discussion can be done at a later date imo. |
@camc314 I got errors loading the home page, I'm trying to see what it is
Edit: lmao he doesn't like the localization in the placeholder, which is already similarly used in master Edit 2: he doesn't like Edit 3: guess what, it's because I'm in French and in the locale file there's no |
locales/en-US.json
Outdated
@@ -208,7 +209,10 @@ | |||
"role": "Role", | |||
"save": "Save", | |||
"saved": "Saved", | |||
"search": "Search", | |||
"search": { | |||
"search": "search", |
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.
"search": "search", | |
"search": "Search", |
IMO, it's weird not having this capitalized
So I pushed the needed changes for the locales, we'll have to check before merging if no other new "search" strings were added and add them to our PR if it is |
I don't think we should be changing strings in other locale files. It should be done on weblate. In prod, it shouldn't cause an issue, just produce an error in the console |
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.
Search doesn't work outside the main page, so you can't search if you're browsing a library, for instance.
Kudos, SonarCloud Quality Gate passed!
|
No longer relevant, prevents merging
@jellyfin-bot rebase |
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
so it didn't work from any other page than home
It now goes back to previous page instead of going back to home page
Co-authored-by: dkanada <dkanada@users.noreply.github.com>
Kudos, SonarCloud Quality Gate passed!
|
It searches.