You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 03c7b5a
Browse filesBrowse the repository at this point in the historyBrowse files
feat: RFID settings sub-tab (learn modification cards + list all learned cards)
Replaces the old inline RFID-assignment form (hidden, kept in DOM only so the
context menu can still read the #playMode option list). Music cards are learned
from the file-browser context menu; this adds a dedicated RFID settings sub-tab:
- Learn modification cards: pick a modification action -> Learn card -> the shared
scan popup -> POST rfidMod. Reuses startRfidScan().
- Lists ALL learned cards (music = path + play mode, modification = action) with a
per-row delete button; refreshes when the sub-tab is shown and after learn/delete.
- The websocket rfid handler already routes scans to the active scan session.
- i18n de/en/fr (nav.rfid + settingsex.rfid.*).
Verified on the test device via Playwright (CMD_VIRTUAL_RFID_CARD_02): old form
hidden, mod dropdown populated (43 actions), learn -> saved (modId 110) -> shown in
list -> deleted; explorer context menu still builds its RFID submenu (12 modes);
no console errors.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -138,6 +138,7 @@ neon logo that doubles as the SVG favicon ([`7be5254`](../../commit/7be5254)):
138
138
|**File browser: assignment badges + context-menu RFID learn (scan-after-select)**: in the Files-tab tree each row is badged (right-aligned, after the name) when that exact path has an **RFID tag** assigned (tag icon) and/or a **per-path EQ rule** (sliders icon), so you can see at a glance what is mapped where. The explorer **context menu** learns/removes RFID assignments directly: right-click a file/folder → **RFID anlernen** → pick a play mode → a **popup** asks you to lay the card (scan or cancel) and the next scanned card is assigned to that path (no tab switch / submit); or **remove** an existing assignment. Mirrors the existing EQ-profile submenu. Works with physical cards and the [virtual cards](#virtual-rfid-cards) (`CMD_VIRTUAL_RFID_CARD_*`) alike. Badges refresh when a folder is (re)opened and live after assigning/removing. i18n de/en/fr |[`7b8e303`](../../commit/7b8e303)|
139
139
|**No standby while on external power**: optional setting (General tab) that keeps the device from entering the inactivity standby while it is on external power. The `complete` board has no charge/USB sense, so "on power" is inferred heuristically from the battery voltage against a configurable threshold (default **3.5 V** — the LiFePO4 charge voltage sits above its resting voltage). The manual sleep timer is unaffected. i18n de/en/fr |[`no-sleep-on-power`](../../releases/tag/no-sleep-on-power)|
140
140
|**Auto-save settings (General + Buttons)**: the **General** and **Buttons** settings sub-tabs no longer have a submit button — changes are persisted automatically (debounced ~0.6 s) as soon as you toggle/select or leave a field. Populating the form on load is suppressed so it never triggers a spurious save; the **Reset** button now applies the defaults right away. The credential/connection tabs (WiFi, security, MQTT, FTP, Bluetooth) keep their explicit submit button on purpose (half-typed passwords / reboot on Bluetooth-mode change). i18n de/en/fr |[`settings-autosave`](../../releases/tag/settings-autosave)|
141
+
|**RFID settings sub-tab + learned-cards list**: the old inline RFID-assignment form (id field + play-mode + submit) is gone — music cards are learned from the file-browser context menu (scan popup). A new **RFID** settings sub-tab learns **modification cards** (pick a modification action → **Learn card** → scan popup) and lists **all learned cards** (music = path + play mode, modification = action) with a delete button each. i18n de/en/fr |[`rfid-settings-tab`](../../releases/tag/rfid-settings-tab)|
141
142
|**OpenAPI/Swagger spec updated**: the bundled `REST_API.yaml` (served at `/swagger.html`) now documents all fork-added endpoints (`/sync`, `/syncstop`, `/playlist`, `/githubupdate`, `/version`, `/login`, `/logout`, `/security`, `/eqrule(s)`, `/activeequalizer`, `/bluetooth*`, `/sdclean`) and declares the security schemes (`X-API-Key` header / `apikey` query param, or the `ESPUINO_SESSION` login cookie) so the Swagger "Authorize" button works. The web-interface footer links to the Swagger UI (`/swagger.html`) |[`f8298d9`](../../commit/f8298d9)|
Copy file name to clipboardExpand all lines: html/locales/de.json
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
"updateAvailable": "Update verfügbar",
31
31
"clickToUpdate": "zum Installieren klicken",
32
32
"control": "Steuerung",
33
-
"rfid": "Dateien",
33
+
"rfid": "RFID",
34
34
"wifi": "WLAN",
35
35
"mqtt": "MQTT",
36
36
"ftp": "FTP",
@@ -115,7 +115,14 @@
115
115
"title": "Drehimpulsgeber",
116
116
"reverse": "Drehrichtung umkehren"
117
117
},
118
-
"autosaveHint": "Änderungen werden automatisch gespeichert"
118
+
"autosaveHint": "Änderungen werden automatisch gespeichert",
119
+
"rfid": {
120
+
"modTitle": "Modifikationskarte anlernen",
121
+
"modDesc": "Wähle eine Modifikations-Aktion und lege dann die Karte auf. Musik-Karten lernst du direkt im Datei-Browser (Rechtsklick → RFID anlernen).",
Copy file name to clipboardExpand all lines: html/locales/fr.json
+9-2Lines changed: 9 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
"updateAvailable": "Mise à jour disponible",
31
31
"clickToUpdate": "cliquer pour installer",
32
32
"control": "Contrôle",
33
-
"rfid": "Fichiers",
33
+
"rfid": "RFID",
34
34
"wifi": "WiFi",
35
35
"mqtt": "MQTT",
36
36
"ftp": "FTP",
@@ -108,7 +108,14 @@
108
108
"title": "Codeur rotatif",
109
109
"reverse": "Inversion du sens de rotation"
110
110
},
111
-
"autosaveHint": "Les modifications sont enregistrées automatiquement"
111
+
"autosaveHint": "Les modifications sont enregistrées automatiquement",
112
+
"rfid": {
113
+
"modTitle": "Apprendre une carte de modification",
114
+
"modDesc": "Choisissez une action de modification, puis posez la carte. Les cartes musicales s'apprennent dans l'explorateur de fichiers (clic droit → Associer RFID).",
0 commit comments