Skip to content

fix(ui): simplify plan reminder hierarchy - #1497

Merged
Astro-Han merged 12 commits into
mainfrom
fix/1491-plan-reminders-list
Jul 26, 2026
Merged

Astro-Han merged 12 commits into
mainfrom
fix/1491-plan-reminders-list

Conversation

@Astro-Han

@Astro-Han Astro-Han commented Jul 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Closes #1491. Refs #1452.

  • Replace the two-column reminder dashboard with one full-width management list and reduce each row to three explicit responsibilities: task identity, next event or meaningful result, and controls.
  • Remove steady-state chrome that competed with the task itself: normal-status badges, tab counts, keep-awake banners, “not run yet” placeholders, duplicate capability-audit messaging, and recurrence/clock icons. Paused, completed, blocked, and failed states remain visible because they require interpretation or action.
  • Keep one primary create action, one contextual page menu, one enable switch, and one row menu. Completed reminders no longer render a dead switch. Keep-awake remains recoverable after an initial read failure without allowing a later transient failure to overwrite a previously confirmed value.
  • Preserve the four localized quick-start templates inside the existing create dialog as one quiet “Use template” menu, instead of restoring the old empty-state card grid.
  • Use the shared button primitive for page and row menus, give the reminder form an explicit dialog-owned initial focus target, and add a real Electron keyboard journey for menu order, focus visibility, reversible deletion, clear-history cancellation, and template prefilling.
  • Expand production-host Storybook governance to empty, configured, attention-required, keep-awake, and hostile long-content states. The keep-awake story now opens the contextual page menu and verifies its checked control; the smoke runner validates all configured rows, fails closed on unknown checks, requires the wide three-column hierarchy, rejects clipping or horizontal overflow, and locks the countdown-to-time gap.
  • Keep configured Story data production-faithful: reminders with run history expose the normalized lastRun, and smoke rejects a completed row that loses its last-run context.
  • Remove source-matching Plan Reminder and command-palette tests now covered by rendered-output tests, runtime hook tests, real Electron journeys, and browser computed-style checks.

Verification

  • npm run lint
  • npm run format:check
  • npm --workspace @maka/ui run test — 250 passed
  • npm --workspace @maka/desktop run typecheck
  • npm --workspace @maka/desktop run test — 2,852 passed
  • npm run test:scripts — 132 passed
  • npm --workspace @maka/desktop run build-storybook
  • npm --workspace @maka/desktop run smoke:storybook — 26/26 render/play checks passed across wide, compact, 480 × 720, light, and dark
  • npm --workspace @maka/desktop run e2e -- command-palette.spec.ts plan-reminders.spec.ts — 3/3 passed
  • npm --workspace @maka/desktop run e2e -- plan-reminders.spec.ts --repeat-each=10 — 10/10 passed with retries: 0
  • Live Storybook inspection at 1280 × 900 and 480 × 720 confirmed the configured, attention, and hostile long-content states remain readable without document or row overflow.

Review focus

Review target: 107af2c00.

The intended hierarchy is deliberately narrow:

  • page header: location and primary/page-level actions;
  • tabs: view selection only;
  • reminder row: identity → next event or meaningful result → controls.

Plan-specific behavior remains local: recurrence/countdown formatting, run-history ranges, keep-awake behavior, scheduling action eligibility, templates, and the reminder form. This PR does not introduce a parallel state model or a generic module framework.

Before / after

Left: main before #1491. Right: the list surface at dbb0deb, captured from the same 1280 × 900 Electron fixture. Current HEAD 107af2c00 additionally restores templates inside the create dialog, synchronizes menu-focus E2E assertions, restores the governed countdown gap, preserves confirmed keep-awake state across transient read failures, verifies the contextual checked state in Storybook, makes configured run-history fixtures match normalized production data, and removes implementation-text tests superseded by runtime and browser coverage.

Plan reminders before and after alignment fix

@Astro-Han Astro-Han changed the title fix(ui): make plan reminders scan-friendly fix(ui): simplify plan reminder hierarchy Jul 26, 2026
@Astro-Han
Astro-Han merged commit 9cef3a0 into main Jul 26, 2026
3 checks passed
@Astro-Han
Astro-Han deleted the fix/1491-plan-reminders-list branch July 26, 2026 05:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ui): make Plan reminders the reference module management surface

1 participant