Task 22: Settings skeleton and parity list #22

Closed
opened 2026-11-11 08:01:27 +00:00 by charles · 0 comments
Owner

Files:

  • Create: xtask/src/extract_parity.rs, xtask/src/parity_check.rs, docs/parity/settings.toml, crates/fluxer-ui/src/screens/settings/{mod.rs,nav.rs,placeholder.rs,companion_apps.rs,account.rs,appearance.rs,notifications.rs}, crates/fluxer-core/src/settings_tabs.rs
  • Test: xtask/tests/parity.rs, crates/fluxer-ui/tests/settings_nav.rs

Interfaces:

  • cargo xtask extract-parity --fork <path> parses the 21 fork:fluxer_app/src/features/user/components/settings_utils/search_index/*Index.ts files (regex over id:, tabType:, sectionId:, audience:, tags:, and the label descriptor's message: string resolved from the same file) into docs/parity/settings.toml: [[setting]] id, tab, section, label, audience, tags, status = "planned", owner = "<sub-project number>". Expected 117 entries. Re-running merges: new ids appended, existing statuses kept.
  • cargo xtask parity-check fails if any [[setting]] lacks status ∈ {done, planned, dropped} or owner, or if extract-parity --dry-run would add ids.
  • settings_tabs::TABS: [SettingsTab] in the web app's display order (fork:…/SettingsConstants.tsx:150-292): group "Your account": my_profile, account_security, privacy_safety, linked_accounts, authorized_apps, blocked_users, devices; "Billing": plutonium, gift_inventory; "App settings": appearance, themes, notifications, chat_settings, voice_video, accessibility, language, keybinds, desktop_settings, advanced_settings; "Developer": applications, embed_debugger, component_gallery. Nav labels as in the web app ("Look and feel", "Messages and media", "Shortcuts").
  • settings::view(&App) — left nav + content; implemented panels: Account (username, email, log out), Appearance (theme: Dark only, placeholder note), Notifications (desktop notifications on/off, stored in LocalSettings), Companion apps (toggle, URL ws://127.0.0.1:21863/status?token=… copy button, regenerate token); every other tab/section shows placeholder::view(tab, owner) ("Coming in sub-project N").

Plan: https://git.forked.io/charles/fluxer-native/src/branch/foundation/docs/superpowers/plans/2026-11-11-foundation.md (section "Task 22")

**Files:** - Create: `xtask/src/extract_parity.rs`, `xtask/src/parity_check.rs`, `docs/parity/settings.toml`, `crates/fluxer-ui/src/screens/settings/{mod.rs,nav.rs,placeholder.rs,companion_apps.rs,account.rs,appearance.rs,notifications.rs}`, `crates/fluxer-core/src/settings_tabs.rs` - Test: `xtask/tests/parity.rs`, `crates/fluxer-ui/tests/settings_nav.rs` **Interfaces:** - `cargo xtask extract-parity --fork <path>` parses the 21 `fork:fluxer_app/src/features/user/components/settings_utils/search_index/*Index.ts` files (regex over `id:`, `tabType:`, `sectionId:`, `audience:`, `tags:`, and the `label` descriptor's `message:` string resolved from the same file) into `docs/parity/settings.toml`: `[[setting]] id, tab, section, label, audience, tags, status = "planned", owner = "<sub-project number>"`. Expected 117 entries. Re-running merges: new ids appended, existing statuses kept. - `cargo xtask parity-check` fails if any `[[setting]]` lacks `status ∈ {done, planned, dropped}` or `owner`, or if `extract-parity --dry-run` would add ids. - `settings_tabs::TABS: [SettingsTab]` in the web app's display order (`fork:…/SettingsConstants.tsx:150-292`): group "Your account": my_profile, account_security, privacy_safety, linked_accounts, authorized_apps, blocked_users, devices; "Billing": plutonium, gift_inventory; "App settings": appearance, themes, notifications, chat_settings, voice_video, accessibility, language, keybinds, desktop_settings, advanced_settings; "Developer": applications, embed_debugger, component_gallery. Nav labels as in the web app ("Look and feel", "Messages and media", "Shortcuts"). - `settings::view(&App)` — left nav + content; implemented panels: Account (username, email, log out), Appearance (theme: Dark only, placeholder note), Notifications (desktop notifications on/off, stored in `LocalSettings`), Companion apps (toggle, URL `ws://127.0.0.1:21863/status?token=…` copy button, regenerate token); every other tab/section shows `placeholder::view(tab, owner)` ("Coming in sub-project N"). --- Plan: https://git.forked.io/charles/fluxer-native/src/branch/foundation/docs/superpowers/plans/2026-11-11-foundation.md (section "Task 22")
charles added this to the Foundation milestone 2026-11-11 08:01:27 +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#22
No description provided.