Skip to content
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

Searchbar via Mobile: Input Keyboard does not disappear when displaying search results #470

Open
peculiarPrince opened this issue Jul 11, 2022 · 0 comments
Labels
area:frontend Everything frontend related area:search Related to Tobira's search kind:bug Bug

Comments

@peculiarPrince
Copy link
Contributor

No description provided.

@LukasKalbertodt LukasKalbertodt added area:frontend Everything frontend related area:search Related to Tobira's search kind:bug Bug labels Jul 11, 2022
owi92 added a commit that referenced this issue Nov 18, 2024
This PR improves the whole main search page in various ways. Most
important points:

- Thumbnails are now on the left (I know a certain someone who will very
much welcome this change 😉 )
- The three different kinds of results were designed to be visually
easier to distinguish.
- Videos and series also show the realm path (if there is only one host
realm)
- The date is added to videos
- The matching portion in search results is highlighted, to show the
user immediately why a result appears.
- Note: This does not work for "creators" yet, due to a limitation in
the search index we use. We have to wait for an upstream fix.
- Note: metadata like description and title are truncated if too long.
If the match would appear in the parts that are cut off, it would be
still confusing for the user. Therefore, the metadata is truncated/cut
in such a way that the part with the match is shown. (Example: first
result for search "hadron myers")

This PR is a draft because I still want to do this:
- [x] Talk to our designer
- [x] Squash two mobile keyboard bugs
- [x] ~~Potentially change the "realm" icon~~ -> No
- [x] Fix bug where the last input on the search field can sometimes be
ignored
- [x] ~~Make highlight color stronger~~ -> See some comments below

In a separate, follow-up PR I still plan on doing these search-related
things:
- Use Meili federated search (improves ranking, potentially speed, and
prepares pagination)
- Improve ranking to make series appear before videos of that series
with title = series title when searching for series title
- Potentially merge series and page results when the page is a
"series-only-page" for that series
- Maybe: with multiple host realms, if only one exists that derives its
name from the series/event, use it for breadcrumbs & link.
- Finally decide about #500

Finally, filtering is still missing, which deserves a PR on its own.

---

Feedback is very welcome!


Fixes #470
Fixes #1066
Fixes #1065
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:frontend Everything frontend related area:search Related to Tobira's search kind:bug Bug
Projects
None yet
Development

No branches or pull requests

2 participants