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

feat: added live search bar #32

Merged
merged 4 commits into from
Oct 6, 2021
Merged

Conversation

Daemondeal
Copy link
Contributor

@Daemondeal Daemondeal commented Oct 6, 2021

I've added a live search bar: if you type in it, the results shown will be filtered by what you write. By default, it filters by name. If you type tag:TAGNAME, separated by a whitespace, it filters all results by that tag (e.g., if you type php tag:backend, as of now it will show only basic-php-project-structure. It also works as tag:backend php, order does not matter).
As a result of this, to close the program now you type Control-C, not q anymore (As it is used by the search bar). If you give it multiple tags, it searches every entry that has at least one of them.
Also, the -t TAGNAME command now adds tag:TAGNAME as the first query, while a new -q QUERY command searches for QUERY at the start.
To improve on this, in the future maybe we can implement a cursor.
This resolves #4

@mintbomb27
Copy link
Member

Thanks a lot again!! Merging it.

@mintbomb27 mintbomb27 merged commit b78e306 into IEEE-VIT:master Oct 6, 2021
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.

Implement Live Search
2 participants