Convert settings related to Search page to config-based settings
Categories
(Firefox :: Settings UI, task)
Tracking
()
People
(Reporter: mstriemer, Assigned: scunnane)
References
(Depends on 6 open bugs, Blocks 3 open bugs)
Details
(Whiteboard: [recomp][sng][srd-followups])
Attachments
(1 file)
The Search page will need to be converted to the config-based settings structure. If settings share a similar pattern to the current design then it may make sense to convert them to the SRD 2025's new design. If they differ significantly, it may be necessary to create a custom component for the old version, and a new version; ideally this can still share most of the business logic to avoid regressions later.
This page will have the following sections which may be good candidates for individual bugs to work on:
- Default search engine
- Search Suggestions
- Address Bar - Firefox Suggest
- Search Shortcuts
Updated•10 months ago
|
Comment 1•4 months ago
|
||
Once all the blocking conversions are complete this bug will cover the work involved in reorganizing the relevant sections to create the finalized Search page as specified in Figma here: https://www.figma.com/design/2b02v18AppIpsTceWac2T3/Settings-Desktop?node-id=6396-14169&m=dev
As part of this work we should also make sure all the strings and illustrations match the design.
| Assignee | ||
Updated•2 months ago
|
Updated•1 month ago
|
Comment 3•12 days ago
|
||
To complete the work on this ticket we need to start generating the new Search settings pane via config. There's an example of us doing this work for the Account and Sync pane here. Basically the steps are as follows:
- create a new
browser/components/preferences/config/search.mjsfile for all of the new/config-based search code - migrate any code needed for config-based search settings to that file from
search.jsandmain.js(e.g. config like this and all of these addSetting calls), then import that file back intosearch.js(this will allow the old code to keep working as expected)- this will allow us to easily remove the old code down the line by just deleting the
search.jsfile
- this will allow us to easily remove the old code down the line by just deleting the
- add a new entry for the
searchpane toCONFIG_PANEShere- more info on the various config options can be found here
- it looks like the order of the settings may have changed in the mockups - implementing this should be as simple as changing the order of items in the
groupIdsarray
- do a final string and illustration check to make sure all of the copy is up to date
If you run into any unexpected issues just reach out in #the settings-redesign channel
Updated•7 days ago
|
| Assignee | ||
Updated•2 days ago
|
| Assignee | ||
Comment 4•2 days ago
|
||
Updated•1 day ago
|
Updated•18 hours ago
|
Description
•