Shell 16: fluxer-core autostart #808

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

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

Closes: — Depends on: 6

Files:

  • Create: crates/fluxer-core/src/shell/autostart.rs · Modify: shell/mod.rs, README · Test: crates/fluxer-core/tests/shell_autostart.rs

Interfaces:

  • Produces: AutostartState::{Off, On, Stale, DisabledBySystem, Unavailable(AutostartUnavailable::{DevelopmentBuild, NotInstalled})}; reconcile(desired, actual) -> Option<ShellCommand> (on + Off or Stale → SetAutostart(true); off + On → SetAutostart(false); DisabledBySystem is left alone and shown); desktop_model(app) -> DesktopSettingsModel rows: "Launch Flaxative at login", "Start minimized" (disabled unless autostart and the tray icon are on, DesktopSettingsTab.tsx:176-199), "Show tray icon", "Use colored tray icon", "Minimize to tray", "Close to tray", "Remember size & position", "Use dark taskbar badge" (Windows), each with its note when unavailable (spec §6, §7.3).

  • Step 1: failing tests: table reconcile_cases, disabled_by_system_not_overwritten, start_minimized_needs_autostart_and_tray, rows_per_os_and_availability, unavailable_reasons_have_text.

  • Step 2–5: FAIL → implement → PASS → commit feat(core): autostart and the Desktop settings model.

Task 16 of the Desktop shell plan (`docs/superpowers/plans/2026-11-17-desktop-shell.md`, section "### Task 16:"). The plan on the `shell` branch is the source of truth; this copy is for reading. **Closes:** — **Depends on:** 6 **Files:** - Create: `crates/fluxer-core/src/shell/autostart.rs` · Modify: `shell/mod.rs`, README · Test: `crates/fluxer-core/tests/shell_autostart.rs` **Interfaces:** - Produces: `AutostartState::{Off, On, Stale, DisabledBySystem, Unavailable(AutostartUnavailable::{DevelopmentBuild, NotInstalled})}`; `reconcile(desired, actual) -> Option<ShellCommand>` (on + `Off` or `Stale` → `SetAutostart(true)`; off + `On` → `SetAutostart(false)`; `DisabledBySystem` is left alone and shown); `desktop_model(app) -> DesktopSettingsModel` rows: "Launch Flaxative at login", "Start minimized" (disabled unless autostart and the tray icon are on, `DesktopSettingsTab.tsx:176-199`), "Show tray icon", "Use colored tray icon", "Minimize to tray", "Close to tray", "Remember size & position", "Use dark taskbar badge" (Windows), each with its note when unavailable (spec §6, §7.3). - [ ] **Step 1: failing tests**: table `reconcile_cases`, `disabled_by_system_not_overwritten`, `start_minimized_needs_autostart_and_tray`, `rows_per_os_and_availability`, `unavailable_reasons_have_text`. - [ ] **Step 2–5:** FAIL → implement → PASS → commit `feat(core): autostart and the Desktop settings model`.
charles added this to the Desktop shell milestone 2026-11-17 23:02:54 +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#808
No description provided.