β¨ feat(tasks/brief): subtask avatar polish, brief actions revamp & task drawer Gateway reconnect#14208
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codecov Reportβ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## canary #14208 +/- ##
===========================================
- Coverage 86.03% 68.07% -17.97%
===========================================
Files 620 2262 +1642
Lines 51652 194172 +142520
Branches 8719 24256 +15537
===========================================
+ Hits 44440 132178 +87738
- Misses 7083 61865 +54782
Partials 129 129
Flags with carried forward coverage won't be shown. Click here to find out more.
π New features to boost your workflow:
|
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
β¦column Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
β¦rawer The task topic drawer rendered messages from the DB but never connected to the Gateway, so a running task showed only the initial prompt and the empty assistant placeholder. Server already writes runningOperation into topic metadata; expose it through TaskDetailActivity and reuse the main agent reconnect hook so the drawer establishes the WebSocket on open. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
The Recent SQL union pulled every topic regardless of trigger, so cron, eval, task_manager, and task-runner topics leaked into the main "ζθΏ" list alongside ordinary chats. Filter them in the topics SELECT, and align the long-stale `TopicTrigger.RunTask` constant with the literal `'task'` that TaskRunnerService actually writes (the const was unused so no DB migration is needed). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2a7f0a2 to
20d0e3f
Compare
Merged
12 tasks
mutoe
pushed a commit
to mutoe/lobehub
that referenced
this pull request
May 1, 2026
β¦sk drawer Gateway reconnect (lobehub#14208) * π style(task): right-align subtask assignee avatar and make it clickable Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * β¨ feat(brief): standardize result brief actions to mark-as-done + edit Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * π style(brief): align decision brief icon with kanban pending-review column Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * β¨ feat(brief): rename result brief primary action to "Confirm complete" Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * β¨ feat(tasks): wire passive Gateway WS reconnect for the task topic drawer The task topic drawer rendered messages from the DB but never connected to the Gateway, so a running task showed only the initial prompt and the empty assistant placeholder. Server already writes runningOperation into topic metadata; expose it through TaskDetailActivity and reuse the main agent reconnect hook so the drawer establishes the WebSocket on open. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * π style(brief): mute Check icon on resolved success tag Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * π fix(recent): exclude system-trigger topics from the Recent sidebar The Recent SQL union pulled every topic regardless of trigger, so cron, eval, task_manager, and task-runner topics leaked into the main "ζθΏ" list alongside ordinary chats. Filter them in the topics SELECT, and align the long-stale `TopicTrigger.RunTask` constant with the literal `'task'` that TaskRunnerService actually writes (the const was unused so no DB migration is needed). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.7 (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
Bundles three independent polish items on the task / daily-brief surface:
Task subtask row: right-align the assignee avatar and make it clickable.
Daily Brief actions: standardize the result brief on
mark-as-done + edit, rename the primary action to Confirm complete, and align the decision brief icon with the kanban pending-review column.Task topic drawer Gateway reconnect (the meatier one): the drawer rendered DB messages but never opened a Gateway WebSocket, so a running task showed only the initial prompt and an empty assistant placeholder. The server already writes
runningOperationintotopics.metadataviaaiAgentService.execAgent; this PRtaskTopicModel.findWithHandoffSELECT and propagates it ontoTaskDetailActivity.runningOperation,useGatewayReconnecthook tosrc/hooks/and refactors it to take(topicId, runningOperation)so callers source the running op from whichever store owns the topic data,TopicChatDrawerBodyagainst the active drawer topic activity, and updates the main-agent caller to the new signature.Net result: opening the drawer for a running task topic auto-opens the Gateway WS via
reconnectToGatewayOperation, replays events, and streams live deltas. SWR keys onoperationIdso a single reconnect attempt fires per op.Test plan
bun run type-check)src/server/services/task/index.test.tsβ 21 tests passrunningOperationπ€ Generated with Claude Code