fix(activity): allow multiple activity rows to be expanded at once#24
Open
adr-sk wants to merge 1 commit into
Open
fix(activity): allow multiple activity rows to be expanded at once#24adr-sk wants to merge 1 commit into
adr-sk wants to merge 1 commit into
Conversation
Your activity previously tracked a single open row (openId), so opening one row collapsed any other. Track a Set of open ids instead so rows expand and collapse independently. Assisted-By: Claude Opus 4.8
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
notJoon
approved these changes
Jul 15, 2026
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.
GC-95
Problem
In the main page's Your activity panel, transaction rows are expandable, but only one could be open at a time — opening a row automatically collapsed any previously opened row.
Fix
Track a
Set<string>of open row ids instead of a singleopenId, so rows expand and collapse independently. Any number of rows can now be open at once; each closes only when clicked again.src/components/YourActivity.tsx:openId: string | null→openIds: Set<string>; toggle adds/removes the row id;aria-expanded, chevron, and detail render readopenIds.has(id). The prune effect still drops open rows that leave the list.Verification
tsc --noEmitpasses clean.(eslint is not a dependency of this repo, so
pnpm lintcan't run here — pre-existing.)🤖 Generated with Claude Code
Assisted-By: Claude Opus 4.8