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

Omnibar #89

Open
kirillt opened this issue Mar 31, 2024 · 0 comments
Open

Omnibar #89

kirillt opened this issue Mar 31, 2024 · 0 comments

Comments

@kirillt
Copy link
Member

kirillt commented Mar 31, 2024

This component is like a searchbar but more ergonomic thanks to extensibility and default actions.

Use-cases:

  • full-text search
  • tags query builder
  • default action when there are no results

One of usage scenarios:

  1. Alice found new recipe for an apple pie and want to save it for future.
  2. She opens Memo app. She isn't sure if she already had saved any apple pie recipes.
  3. She types "apple" into the omnibar.

Option A:
4A. There is a note found by "apple" query!
5A. Alice opens it and adds new recipe to the end of it.

Option B:
4B. There is nothing found by "apple" query.
5B. Memo app suggests the default action "create new note" to Alice.
6B. Alice taps the suggestion and creates new note.
7B. Memo fills already typed text "apple" into the title.
8B. Alice appends the title into "apple pie".
9B. Alice pastes the recipe she had in copy-paste buffer.

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

No branches or pull requests

1 participant