Replace the toggles in about:preferences with fx-toggle
Categories
(Toolkit :: UI Widgets, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox111 | --- | fixed |
People
(Reporter: hjones, Assigned: hjones)
References
(Blocks 1 open bug)
Details
(Whiteboard: [recomp])
Attachments
(2 files)
The fx suggest section of about:preferencs makes use of toggle inputs. We should replace these with the new fx-toggle element.
To get this to work like the existing toggle we will need to make some changes to preferencesBindings.js so that clicking on an fx-toggle with a preference attr triggers a pref change.
Updated•3 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
This patch updates moz-toggle to accept a description slot that can be used to change the description markup in cases where we need to display a support link or some other content.
I'm not totally convinced using a slot is the right approach since it might be making the toggle markup a little too configurable. One alternative is we could accept another property that we use to append a support link to the description, but I don't love that either. I don't want our components sprouting tons of properties to handle edge cases. Open to thoughts/feedback on this.
| Assignee | ||
Comment 2•2 years ago
|
||
This patch changes the Firefox Suggest preference toggles to use the new moz-toggle element.
For testing purposes, set browser.urlbar.quicksuggest.enabled to true to make the toggles visible in about:preferences#privacy.
Depends on D167880
Updated•2 years ago
|
Comment 4•2 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/9994b5813a9f
https://hg.mozilla.org/mozilla-central/rev/602aa16c20d4
Updated•1 year ago
|
Description
•