Skip to content

Make task descriptions a safe, navigable workspace - #7

Merged
stephanterning merged 3 commits into
mainfrom
codex/task-workspace-ux
Nov 2, 2026
Merged

stephanterning merged 3 commits into
mainfrom
codex/task-workspace-ux

Conversation

@stephanterning

@stephanterning stephanterning commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

Long-lived household tasks need room for descriptions, checklists, links and inspiration images without losing work when saving or navigating. This change makes the task document the primary surface on desktop and mobile, and preserves the workspace when opening and closing tasks.

  • Serialize autosaves, keep recoverable per-tab task drafts, compare same-field conflicts and reconcile uncertain save outcomes.
  • Expandable desktop writing area, growing titles, compact mobile planning, checklist/link controls and an attachment gallery.
  • Independent upload progress/retry, idempotent upload IDs, mapped insertion positions and inline removal that retains the original attachment.
  • Bookmarkable task/view addresses, native task links, guarded Back/Forward, retained search/column context and focused comment/description search landing.
  • Compact workspace controls, a single-column tablet board, explicit filter-to-view attachment, protected filter/view drafts, dialog focus restoration and clearer empty/activity states.

Validation:

  • pnpm check: build, lint, typecheck and 35 unit tests pass.
  • 16 task/view database integration tests pass, including file isolation and retry deduplication.
  • Practical local-browser verification at desktop, 768px tablet and 320/390px mobile widths; light/dark themes; search/deep links/reload/Back/Forward; invalid drafts; server interruption, retained draft and recovery; filter creation/attachment and draft cancellation.
  • Earlier checks in this change covered multi-tab conflicts, clipboard/multi-file uploads, delayed placement, lost upload responses, HEIC/PNG/PDF and a 21-image gallery.
  • Existing Playwright journeys updated with navigation/recovery and dirty-editor Forward regressions. The expanded machine-speed journeys use separate rate-limit windows; production limits remain unchanged. All CI jobs pass on 32583d8: checks (build/lint/types/unit tests, generated API and full integration suite), container smoke tests and both complete Playwright journeys. CI run.

Limits: viewport tests are not physical-device verification. Physical mobile keyboard/camera/PWA behavior and spoken screen-reader testing remain manual acceptance checks. Filter/view drafts warn before leaving but are not persisted across reloads. Activity storage has field names only, so no historical before/after values are invented. No migration or production deployment.

Self-review: fixed a filter/view draft remaining mounted after browser Forward, and moved household-specific undo/action resets to the household-change effect so Back/Forward cannot retain actions from another household. Rechecked the dirty-editor traversal locally and added a browser regression.

@stephanterning
stephanterning merged commit 1a1c07c into main Nov 2, 2026
3 checks passed
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.

1 participant