Closed
Bug 1912045
Opened 2 years ago
Closed 2 years ago
Autofill for search restrict keywords
Categories
(Firefox :: Address Bar, enhancement, P2)
Firefox
Address Bar
Tracking
()
RESOLVED
FIXED
131 Branch
| Tracking | Status | |
|---|---|---|
| firefox131 | --- | fixed |
People
(Reporter: mcheang, Assigned: mcheang)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
Description
- Add autofill functionality to UrlbarProvider Restrict Keywords.
Acceptance Criteria
- There are 3 restrict keywords
@history,@bookmarks, and@tabs - When the user types @ followed by the beginning of the search keyword:
@h,@hi,@his,@histetc. the user should be able to autofill the rest of the search by pressing tab - The autofill should highlight the typed letters from the user, and show the entire keyword following what the user typed. For example:
- If the user typed
@hist, autofill should highlight what the user typed and show the rest of the keyword@history:
Example steps to test @history :
- set
browser.urlbar.searchRestrictKeywords.featureGateto true - type out the full keyword and space
@history, address bar should show results panel with history results - type
@hand press right arrow, shows results panel with history results - type
@hand press enter, shows results panel with history results
- typeThis behaviour changed in Bug 925532. Type@hand press tab, does not show panel but selects the history restrict result. When the user starts typing, it will search their history and show results panel with history results@hand press tab, shows results panel with history results
| Assignee | ||
Comment 1•2 years ago
|
||
Pushed by mcheang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5cff57b6b5a2
Autofill for intuitive search keywords. r=daleharvey,urlbar-reviewers,mak
Comment 3•2 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox131:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 131 Branch
Hy Mandy!
I have a question regarding the autofill functionality.
The current behavior for autofill is that if a keyword is partially inserted in the urlbar ( eg. @h ) and then pressing TAB key, the results panel is now automatically displayed without any additional input.
Could you please confirm if the autofill behavior for restrict keywords has changed?
Thank you.
Flags: needinfo?(mcheang)
| Assignee | ||
Comment 5•1 year ago
|
||
Hi Ardelean,
Yes, this is the intended behaviour now.
The bug that changed this is Bug 925532
Flags: needinfo?(mcheang)
You need to log in
before you can comment on or make changes to this bug.
Description
•