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

New search bar component #769

Open
tchoutri opened this issue Oct 23, 2024 — with Linear · 0 comments
Open

New search bar component #769

tchoutri opened this issue Oct 23, 2024 — with Linear · 0 comments
Assignees
Labels
component:search enhancement New feature or request frontend Frontend concerns

Comments

Copy link
Contributor

We want to have a new text input component for searches, with:

  • Disabled auto-complete
    • If JS is enabled, we can load real-time from a search endpoint
    • if JS is disabled, we can save the last searches in a cookie that is sent to the server and then injected as datalist(which cannot be styled too much unfortunately)

image.png

  • Modifiers selector

image.png

The dynamic addition of the modifier would be done with JS. Again, a no-JS fallback could be done using <datalist>. Let's examine this a bit further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:search enhancement New feature or request frontend Frontend concerns
Projects
None yet
Development

No branches or pull requests

2 participants