feat(task-board): task activity feed + PR/link cards in task dialog - #5159
Open
rafavalls wants to merge 1 commit into
Open
feat(task-board): task activity feed + PR/link cards in task dialog#5159rafavalls wants to merge 1 commit into
rafavalls wants to merge 1 commit into
Conversation
Adds a per-task change timeline (created, status moves, (re)assignments) and reworks the task dialog's activity/PR presentation into a Linear-style Activity feed plus a Links panel (pull requests + description links). - migration 143: append-only task_board_activity table (actor + jsonb data) - TASK_BOARD_ACTIVITY_LIST tool + storage recordActivity/listActivity - create/update/run-reactions log created/status_changed/assignee_changed (best-effort; a log write never fails the change it describes) - task dialog: replace ActivityCard/PullRequestsCard with LinksSection + merged ActivitySection (timeline + agent sessions), oldest-first - e2e: assert created + status_changed ordering and no-op no-double-log Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extracts the task activity feed and the reworked PR / link cards from the larger
kanban-feature-paritybranch into a self-contained change (branched fresh offmain, so it carries none of that branch's stale-base drift).Each task now has a change timeline — created, status moves, (re)assignments — rendered as a Linear-style Activity feed in the task dialog, merged chronologically (oldest-first) with any linked agent sessions. The old separate
ActivityCard/PullRequestsCardare replaced by:What's included
migration 143— append-onlytask_board_activitytable (actor + jsonbdatapayload), FK-cascaded on org + item.TASK_BOARD_ACTIVITY_LISTtool +recordActivity/listActivitystorage.create/update/run-reactionslogcreated/status_changed/assignee_changedevents — best-effort: a log write never fails the change it describes.LinksSection+ mergedActivitySection(TimelineBlockgroups consecutive events onto a connected rail).use-task-board-activityhook + query key; en/pt-br i18n.Scope notes
sprint_changedactivity kind is omitted here since sprints aren't in scope.main's plain-text description field (bare-URL regex), not the parity branch's rich-text editor.Testing
bun run check(mesh + e2e),bun run lint,knip,bun run fmt— all clean (the 3 pre-existingtscfailures are missing optional depssatori/resvg/driver.js, unrelated).packages/e2e/tests/task-board-activity.spec.ts: asserts a fresh task logs exactlycreated, a status move appendsstatus_changedwith{from,to}(oldest-first), and a no-op update logs nothing. Runs in CI (this workspace isn't provisioned for a local full-stack run).🤖 Generated with Claude Code
Summary by cubic
Adds a per‑task Activity feed and a Links panel in the task dialog. Shows a clear timeline of task changes and related PRs/URLs to make context easy to scan.
New Features
task_board_activitytable withrecordActivity/listActivity.created,status_changed,assignee_changedfrom create/update/reactions (best‑effort; never blocks).TASK_BOARD_ACTIVITY_LISTtool anduse-task-board-activityhook.Migration
143-task-board-activity. No config changes. Existing tasks start showing activity as events are recorded.Written for commit ad8858e. Summary will update on new commits.