fenix
fenix copied to clipboard
As a User I want to have access to search shortcuts when I type in the search bar
Why/User Benefit/User Problem
Using a search shortcut is a three step process:
- Press the
@Shortcutsbutton above the keyboard - Select the search provider that you want to use
- The search field now contains for example
@google |and you can use the keyboard to type a search query after that
What / Requirements
Acceptance Criteria (how do I know when I’m done?)
- A
@Shortcutsbutton is shown above the keyboard when the search bar has focus - When you press the
@Shortcutsbutton, the awesomebar will show a selection of search engines - If you already had typed a query in the search bar, the existing awesomebar results are replaced with the search suggestions
- If you had already typed a query in the search bar, the query is prepended with the
@engineshortcut and the cursor is positioned at the end of the query - Only those search shortcuts that are relevant for your locale are shown
- The
@Shortcutsbutton is not shown when the keyboard is active for any other textfield than the search bar
┆Issue is synchronized with this Jira Task
~~Seems like this will be blocked on adding search engine switching~~
Apparently this exists in a-c 😄
Questions for UX:
- Should the prepended text of
@google |be editable? That is, if I backspace a bunch can I remove it (like on desktop)? - When I'm doing a shortcut search should we disable suggestions from history, clipboard, etc. and only show from the engine requested?
@shorlander, @topotropic
All acceptance criteria for this have been verified and working as intended.