Commit 8b01876
feat: consolidate WiFi/MQTT/FTP/Bluetooth into a Settings tab with sub-tabs
Merge the WiFi, MQTT, FTP and Bluetooth settings together with the general
settings into a single top-level "Settings" tab, presented UniFi-style with
centered horizontal sub-tabs (General / Buttons / WiFi / MQTT / FTP /
Bluetooth) directly beneath the top tabs. The button-assignment config moves
into its own "Buttons" sub-tab; the Help tab is removed and the General tab
buttons/options compacted. Adds an FTP start/stop button to the control tab.
Also fixes three issues found while testing on the device:
- Sleep-timer dropdown stayed open on outside-click because the ~1s Pong-driven
updateSleepTimerState() reassigned the toggle's full className, clobbering
Bootstrap's `show` class. Now toggles only `active-magenta` via classList.
- Desktop control-tab volume slider rendered at zero width: the bootstrap-slider
is created while the control tab is hidden (default landing tab is Files), so
it is now relayout()'d on shown.bs.tab.
- RFID reader-type help text referenced a missing i18n key
(general.rfid.readerType.description) -> corrected to general.rfid.description.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 5a8a4c1 commit 8b01876
4 files changed
Lines changed: 438 additions & 379 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
168 | 170 | | |
169 | 171 | | |
170 | 172 | | |
| 173 | + | |
| 174 | + | |
171 | 175 | | |
172 | 176 | | |
173 | 177 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
169 | 171 | | |
170 | 172 | | |
171 | 173 | | |
| 174 | + | |
| 175 | + | |
172 | 176 | | |
173 | 177 | | |
174 | 178 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| 39 | + | |
| 40 | + | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| |||
161 | 163 | | |
162 | 164 | | |
163 | 165 | | |
| 166 | + | |
| 167 | + | |
164 | 168 | | |
165 | 169 | | |
166 | 170 | | |
| |||
0 commit comments