feat(code): add archive to Home#3032
Conversation
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
|
Reviews (1): Last reviewed commit: "feat(code): add archive to Home (archive..." | Re-trigger Greptile |
New commits pushed (delta classified non_trivial_delta) — stamphog approval dismissed; re-review running automatically.
There was a problem hiding this comment.
Additive UI feature adding an archived tasks section to the Home view. Both P1 bot concerns were addressed in follow-up commits visible in the current diff: the empty state now guards on !archivedLoading, and archiveTask has a .catch() that logs and toasts on failure. Patterns (useHostTRPC in UI hooks, optimistic cache update, zustand persistence) are all established conventions used throughout the codebase.
Problem
The Home view had no way to archive tasks, and archived work wasn't surfaced there at all, workstream row overflow menu only offered "Open task"
ph_code_home_archive.mp4
Changes