Shell 7: fluxer-platform settings: [shell], [keybinds], [notifications] #799

Closed
opened 2026-11-17 23:02:40 +00:00 by charles · 0 comments
Owner

Task 7 of the Desktop shell plan (docs/superpowers/plans/2026-11-17-desktop-shell.md, section "### Task 7:"). The plan on the shell branch is the source of truth; this copy is for reading.

Closes: — Depends on: 6

Files:

  • Modify: crates/fluxer-platform/src/settings.rs, README
  • Test: crates/fluxer-platform/tests/settings_shell.rs

Interfaces:

  • Consumes: ShellSettings::stored, and (as opaque stored values until Tasks 11 and 14 land) Keybinds::stored / NotificationPrefs::stored — the task defines the TOML shape (spec §5.4) and reads and writes whatever stored() lists, so later tasks add keys without touching this file.

  • Produces: tables read value by value (a wrong type costs that value), absent tables → defaults, the existing [window] unchanged; the one-time copy of [voice.settings].ptt_key into [keybinds].voice_push_to_talk when the latter is absent.

  • Step 1: failing tests: file_without_tables_loads_defaults, round_trip, bad_value_costs_only_itself, unknown_keys_ignored, previous_version_reads_new_file (a copy of today's SettingsFile), ptt_key_migrated_once, bindings_never_in_debug_or_error.

  • Step 2–5: FAIL → implement → PASS → commit feat(platform): shell, keybind and notification settings tables.

Task 7 of the Desktop shell plan (`docs/superpowers/plans/2026-11-17-desktop-shell.md`, section "### Task 7:"). The plan on the `shell` branch is the source of truth; this copy is for reading. **Closes:** — **Depends on:** 6 **Files:** - Modify: `crates/fluxer-platform/src/settings.rs`, README - Test: `crates/fluxer-platform/tests/settings_shell.rs` **Interfaces:** - Consumes: `ShellSettings::stored`, and (as opaque stored values until Tasks 11 and 14 land) `Keybinds::stored` / `NotificationPrefs::stored` — the task defines the TOML shape (spec §5.4) and reads and writes whatever `stored()` lists, so later tasks add keys without touching this file. - Produces: tables read value by value (a wrong type costs that value), absent tables → defaults, the existing `[window]` unchanged; the one-time copy of `[voice.settings].ptt_key` into `[keybinds].voice_push_to_talk` when the latter is absent. - [ ] **Step 1: failing tests**: `file_without_tables_loads_defaults`, `round_trip`, `bad_value_costs_only_itself`, `unknown_keys_ignored`, `previous_version_reads_new_file` (a copy of today's `SettingsFile`), `ptt_key_migrated_once`, `bindings_never_in_debug_or_error`. - [ ] **Step 2–5:** FAIL → implement → PASS → commit `feat(platform): shell, keybind and notification settings tables`.
charles added this to the Desktop shell milestone 2026-11-17 23:02:40 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#799
No description provided.