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

Smart search bar #89

Closed
wants to merge 4 commits into from
Closed

Smart search bar #89

wants to merge 4 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Aug 27, 2023

I don't expect this PR to be merged.
Opened it to share some code and ideas, maybe start a discussion on how this feature should be implemented.

Code here fully replaces UI filters with filter bar. Quick filters still work.
I think I like it more, but I imagine that most people will prefer UI filters to avoid typing lots of text.

Here's my main findings so far:

  1. Some kind of autocomplete is neccessary to help remember tags and labels, this will be especially relevant when new tags will be eventually released.
  2. Highlighting keywords like 'tag', 'type', etc. in filter bar with different colors would be nice. But it's not possible with vanilla input fields, so custom solution is required.

@ghost
Copy link
Author

ghost commented Aug 27, 2023

Basic filters:

basic_filters

Quick filters:

quick_filters

Saving search terms:

saved_search

@ghost
Copy link
Author

ghost commented Aug 29, 2023

Implemented autocomplete, well, not really, it's not interactive, just showing you all available options.
Keyboard and mouse interactivity is possible but tricky, i'll try it later.

autocomplete

@ghost ghost closed this Sep 14, 2023
@ghost ghost deleted the filter_bar branch September 15, 2023 22:02
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants