Skip to content

Extract GroupSummarySection to scope shimmer to labels - #773

Merged
SDSLeon merged 1 commit into
poracode/v2from
poracode/lively-quail-394d5d9f
Sep 14, 2026
Merged

SDSLeon merged 1 commit into
poracode/v2from
poracode/lively-quail-394d5d9f

Conversation

@SDSLeon

@SDSLeon SDSLeon commented Sep 14, 2026

Copy link
Copy Markdown
Collaborator
  • Extract GroupSummarySection (with SummaryLabel) from ToolCallGroup for collapsed group summary rows: icon, animated count, localized label, and optional diff stats.
  • Apply the running-state thinking shimmer only to the section label via useShimmer, keeping the count static and setting data-poracode-shimmer-text to the label alone (e.g. command, not 1 command).
  • Unregister shimmer when a section stops running so the shared thinking animator does not keep repainting detached or invisible labels.
  • Add GroupSummarySection.test.tsx and update ToolCallGroup.test.tsx to cover shimmer targeting and inactive teardown.
  • Update MCP plural string source references in all 12 locale catalogs after the component move (no translation changes).

- Limit running shimmer to the category label instead of the full count
- Unregister shimmer when the section becomes inactive
- Add component tests and retarget MCP plural locale references
@SDSLeon
SDSLeon merged commit ffe4f0f into poracode/v2 Sep 14, 2026
25 checks passed
@SDSLeon
SDSLeon deleted the poracode/lively-quail-394d5d9f branch September 14, 2026 22:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant