onyx-tasks/screenshots/smoke-test
Claude 8a04895270
Fix nine GUI bugs found during local-workspace smoke test
- crates/onyx-core/src/webdav.rs: rename `getpassword`/`setpassword`
  (7 call sites) to `get_password`/`set_password` so `cargo build`
  and the CLI compile again under the default `keyring-storage` feature.
- ConfirmDialog.svelte: intercept Escape at window capture phase and
  expose a module-level open-count so TasksScreen's Escape handler can
  defer; previously Escape on a dialog both dismissed the dialog AND
  popped the task-detail view behind it. Cancel is also focused on
  mount for keyboard users.
- TasksScreen.svelte: extend the taskStack cleanup effect to collapse
  back to parent detail when only the subtask is gone (was leaving a
  blank third panel); focus the new-list input when it appears; reset
  the Completed section's expand state when switching lists.
- TaskDetailView.svelte: re-sync local title/description state when
  the task prop's content changes (unless the user is editing), so a
  sync pull doesn't get silently overwritten on next save. Bail out of
  the parent delete if a subtask delete fails instead of orphaning.
- app.svelte.ts: deleteTask now returns a success boolean; move the
  "No Date" group to the end of the grouped-by-date view so Overdue
  and Today surface first.
- SetupScreen.svelte: strip trailing separators before splitting the
  picked folder path so "…/MyTasks/" yields "MyTasks" instead of the
  literal fallback "workspace".

Verified live under Xvfb for the three user-visible cases (ConfirmDialog
Escape, orphan subtask collapse, new-list autofocus). Screenshots in
screenshots/smoke-test/. cargo test --lib -p onyx-core is green
(162/162); npm run build succeeds.
2026-04-17 14:24:59 +00:00
..
01-task-list.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
02-drawer.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
03-task-detail.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
04-confirm-dialog.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
05-bug-escape-pops-detail.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
06-bug-orphan-subtask-panel.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
07-group-by-date.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
08-bug-newlist-no-autofocus.png Add smoke-test screenshots demonstrating GUI bugs 2026-04-17 13:57:02 +00:00
09-fix-confirm-before.png Fix nine GUI bugs found during local-workspace smoke test 2026-04-17 14:24:59 +00:00
10-fix-confirm-after-escape.png Fix nine GUI bugs found during local-workspace smoke test 2026-04-17 14:24:59 +00:00
11-fix-orphan-subtask.png Fix nine GUI bugs found during local-workspace smoke test 2026-04-17 14:24:59 +00:00
12-fix-newlist-autofocus.png Fix nine GUI bugs found during local-workspace smoke test 2026-04-17 14:24:59 +00:00