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

feature request: fuzzy search #28

Open
jharonfe opened this issue May 13, 2023 · 6 comments
Open

feature request: fuzzy search #28

jharonfe opened this issue May 13, 2023 · 6 comments
Labels
enhancement New feature or request ui/ux

Comments

@jharonfe
Copy link

Cool project. Was wondering if there are plans to support some kind of search, or fuzzy search, from the tui ? If this is already supported, I didn't see it in the examples.

@robherley robherley added the enhancement New feature or request label May 13, 2023
@robherley
Copy link
Owner

Not currently supported, but should totally be possible!

Charm has a list bubble that has filter behavior when tapping /, this is actually used for the change extension file options in snips. Could definitely emulate this behavior for the file selector.

@kalmarz
Copy link

kalmarz commented May 15, 2023

I'm just thinking out loud... maybe this is not among the primary use cases but I'd really like to store and manage my snipppets through snpis. Therefore a search would indeed be indispensable, so I second to the idea. Moreover, having the list of IDs in the left plane doesn't help the visibility and searchability either. So being able to name (or even tag) the snippets somehow would be a nice addition.

This project really caught my heart btw. 🤟

@robherley
Copy link
Owner

Yea named snips would definitely be a better experience (description too?)

Should be relatively easy to add to the database. My only worry is horizontal space in the terminal window, need to think about how to display snippets by name without it taking up too much space 🤔

@kalmarz
Copy link

kalmarz commented May 22, 2023

I believe the length of the name can be quite restricted, yet the string remains useful, to fit into the left pane. Description is a good idea and the perfect candidate for the right pane.

@Sanix-Darker
Copy link
Contributor

Hey there, if this issue (add a "description" field) to the table view, I would like to work on it !

@kalmarz
Copy link

kalmarz commented Nov 1, 2023

any update perhaps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui/ux
Projects
None yet
Development

No branches or pull requests

4 participants