Open Bug 1509957 Opened 2 years ago Updated 2 years ago

[remote-dbg-next] move preferences related state from state.ui to state.ui.preferences

Categories

(DevTools :: about:debugging, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: jdescottes, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: remote-debugging-technical-debt)

We currently have 3 values in the ui that simply reflect boolean prefs checked once at startup:
- networkEnabled 
- wifiEnabled
- showSystemAddons 

We should group them under the same node in the state to simplify our state

From 
{
    adbAddonStatus,
    debugTargetCollapsibilities,
    isScanningUsb,
    networkEnabled,
    networkLocations,
    selectedPage,
    showSystemAddons,
    wifiEnabled,
}

To
{
    adbAddonStatus,
    debugTargetCollapsibilities,
    isScanningUsb,
    networkLocations,
    preferences,
    selectedPage,
}
Priority: -- → P3

filter on: remote-debugging-m2-reserve-cleanup

Whiteboard: remote-debugging-technical-debt
You need to log in before you can comment on or make changes to this bug.