Skip to content

Commit 8b01876

Browse files
fhirschmannclaude
andcommitted
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

File tree

html/locales/de.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"ftp": "FTP",
3737
"bluetooth": "Bluetooth",
3838
"general": "Allgemein",
39+
"settings": "Einstellungen",
40+
"buttons": "Tasten",
3941
"tools": "Tools",
4042
"help": "Hilfe"
4143
},
@@ -168,6 +170,8 @@
168170
"btHeadphones": "Kopfhörer",
169171
"nightOn": "Nacht An",
170172
"nightOff": "Nacht Aus",
173+
"ftpOn": "FTP An",
174+
"ftpOff": "FTP Aus",
171175
"repeatOff": "Aus",
172176
"repeatPlaylist": "Playlist",
173177
"repeatTrack": "Titel",

html/locales/en.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"ftp": "FTP",
3737
"bluetooth": "Bluetooth",
3838
"general": "General",
39+
"settings": "Settings",
40+
"buttons": "Buttons",
3941
"tools": "Tools",
4042
"help": "Help"
4143
},
@@ -169,6 +171,8 @@
169171
"btHeadphones": "Headphones",
170172
"nightOn": "Night On",
171173
"nightOff": "Night Off",
174+
"ftpOn": "FTP On",
175+
"ftpOff": "FTP Off",
172176
"repeatOff": "Off",
173177
"repeatPlaylist": "Playlist",
174178
"repeatTrack": "Track",

html/locales/fr.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@
3636
"ftp": "FTP",
3737
"bluetooth": "Bluetooth",
3838
"general": "Général",
39+
"settings": "Paramètres",
40+
"buttons": "Boutons",
3941
"tools": "Outils",
4042
"help": "Aide"
4143
},
@@ -161,6 +163,8 @@
161163
"btHeadphones": "Casque",
162164
"nightOn": "Nuit On",
163165
"nightOff": "Nuit Off",
166+
"ftpOn": "FTP On",
167+
"ftpOff": "FTP Off",
164168
"repeatOff": "Off",
165169
"repeatPlaylist": "Playlist",
166170
"repeatTrack": "Piste",

0 commit comments

Comments
 (0)