Skip to content

feat(code): add archive to Home#3032

Merged
tatoalo merged 2 commits into
mainfrom
feat/code/home-archive
Jun 30, 2026
Merged

feat(code): add archive to Home#3032
tatoalo merged 2 commits into
mainfrom
feat/code/home-archive

Conversation

@tatoalo

@tatoalo tatoalo commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

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

  • added "Archive" section

@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit e33dc68.

@tatoalo tatoalo self-assigned this Jun 30, 2026
@tatoalo tatoalo added the Stamphog This will request an autostamp by stamphog on small changes label Jun 30, 2026
@tatoalo tatoalo marked this pull request as ready for review June 30, 2026 16:16
@tatoalo tatoalo requested a review from a team June 30, 2026 16:17
github-actions[bot]
github-actions Bot previously approved these changes Jun 30, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additive UI feature reusing existing archive infrastructure correctly. All patterns match established codebase conventions, the optimistic HomeSnapshot update is gated on promise resolution, and the empty-state logic refactor is correct.

@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "feat(code): add archive to Home (archive..." | Re-trigger Greptile

Comment thread packages/ui/src/features/home/components/HomeView.tsx Outdated
Comment thread packages/ui/src/features/home/hooks/useWorkstreamPresentation.ts Outdated
@github-actions github-actions Bot dismissed their stale review June 30, 2026 16:25

New commits pushed (delta classified non_trivial_delta) — stamphog approval dismissed; re-review running automatically.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@tatoalo tatoalo enabled auto-merge (squash) June 30, 2026 16:27
@tatoalo tatoalo merged commit 8e710ca into main Jun 30, 2026
23 checks passed
@tatoalo tatoalo deleted the feat/code/home-archive branch June 30, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant