Skip to content

fix(activity): allow multiple activity rows to be expanded at once#24

Open
adr-sk wants to merge 1 commit into
mainfrom
fix/activity-multiple-expandable
Open

fix(activity): allow multiple activity rows to be expanded at once#24
adr-sk wants to merge 1 commit into
mainfrom
fix/activity-multiple-expandable

Conversation

@adr-sk

@adr-sk adr-sk commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

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 single openId, 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 | nullopenIds: Set<string>; toggle adds/removes the row id; aria-expanded, chevron, and detail render read openIds.has(id). The prune effect still drops open rows that leave the list.

Verification

  • tsc --noEmit passes clean.
  • Ran the Vite dev server locally and confirmed multiple rows stay open simultaneously.

(eslint is not a dependency of this repo, so pnpm lint can't run here — pre-existing.)

🤖 Generated with Claude Code

Assisted-By: Claude Opus 4.8

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
@vercel

vercel Bot commented Jul 15, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
gnoland-bridge Ready Ready Preview, Comment Jul 15, 2026 8:50am

Request Review

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.

2 participants