fix: merge assistant activity groups#1739
Conversation
📝 WalkthroughWalkthroughThe PR implements "Merged Activity Groups" by filtering empty reasoning metadata blocks from activity grouping so they do not split assistant work spans, and refactors the expand/collapse UI from ChangesMerged Activity Groups Feature
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
docs/issues/merged-activity-groups/plan.md (1)
25-25: 💤 Low valueConsider hyphenating compound adjective for consistency.
The phrase "provider signed" could be hyphenated to "provider-signed" when used as a compound adjective modifying "empty reasoning blocks" for improved technical writing consistency.
📝 Optional style improvement
-- Add renderer regression coverage around provider signed empty reasoning blocks. +- Add renderer regression coverage around provider-signed empty reasoning blocks.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@docs/issues/merged-activity-groups/plan.md` at line 25, Change the compound adjective "provider signed" to a hyphenated form "provider-signed" in the sentence that reads "Add renderer regression coverage around provider signed empty reasoning blocks" so it consistently uses "provider-signed" when modifying "empty reasoning blocks"; update any identical occurrences in the same document to match this hyphenation.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@docs/issues/merged-activity-groups/plan.md`:
- Line 25: Change the compound adjective "provider signed" to a hyphenated form
"provider-signed" in the sentence that reads "Add renderer regression coverage
around provider signed empty reasoning blocks" so it consistently uses
"provider-signed" when modifying "empty reasoning blocks"; update any identical
occurrences in the same document to match this hyphenation.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: fe865eac-295c-402a-bc0f-abd5de89e44d
📒 Files selected for processing (7)
docs/issues/merged-activity-groups/plan.mddocs/issues/merged-activity-groups/spec.mddocs/issues/merged-activity-groups/tasks.mdsrc/renderer/src/components/message/MessageBlockActivityGroup.vuesrc/renderer/src/components/message/messageActivityGroups.tstest/renderer/components/message/MessageBlockActivityGroup.test.tstest/renderer/components/message/messageActivityGroups.test.ts
Summary
UI
BEFORE
[>] Already worked for 9s · 5 thoughts · 4 tool calls
(details hard-toggle with display none)
AFTER
[>] Already worked for 9s · 5 thoughts · 4 tool calls
(details animate open/closed; collapsed details are inert)
Tests
Summary by CodeRabbit
New Features
Bug Fixes
Accessibility