Closed Bug 1951831 Opened 1 year ago Closed 1 year ago

Create a setting-control element to render new setting designs

Categories

(Firefox :: Settings UI, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
138 Branch
Tracking Status
firefox138 --- fixed

People

(Reporter: mstriemer, Assigned: mstriemer)

References

(Blocks 1 open bug)

Details

(Whiteboard: [recomp])

Attachments

(2 files)

We'll need a component to render the actual setting controls based on a Setting object from preferencesBindings.js. This will get used when the redesign is enabled

This adds an initial setting-control web component that can render a
moz-checkbox based setting. This will be controlled by a pref to reduce
any churn on the Settings page while we make changes related to Settings
Redesign 2025.

Depends on D240400

Attachment #9469851 - Attachment description: WIP: Bug 1951831 - Create setting-control to render a config based setting r?#preferences-reviewers,#recomp-reviewers → Bug 1951831 - Create setting-control to render a config based setting r?#preferences-reviewers,#recomp-reviewers
Attachment #9469851 - Attachment description: Bug 1951831 - Create setting-control to render a config based setting r?#preferences-reviewers,#recomp-reviewers → Bug 1951831 - Part 1: Create setting-control to render a config based setting r?#preferences-reviewers,#recomp-reviewers

Refactor the setting-group and setting-control a little to support
passing in the Preferences.getSetting function rather pulling it off of
window.

Add basic Storybook stories for setting-group and setting-control.

Depends on D240402

Pushed by mstriemer@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54153bd9f6c4 Part 1: Create setting-control to render a config based setting r=reusable-components-reviewers,mconley,hjones https://hg.mozilla.org/integration/autoland/rev/79443cadca96 Part 2: Stories for setting-{group,control} r=reusable-components-reviewers,settings-reviewers,mossop,hjones
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 138 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: