fix(web): Events expand shows detail under the row, not at page bottom - #37
Merged
Conversation
The expanded event detail was rendered in a second .map() after all main rows, so every expanded panel landed at the bottom of the table. Interleave each detail row immediately after its main row inside one Fragment-keyed map. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01F1ad6jb5mCYxzFVXHbksqi
There was a problem hiding this comment.
Pull request overview
Fixes the Events table row-expansion layout so the expanded detail panel renders directly beneath the clicked row (instead of being rendered in a second pass at the bottom of the table).
Changes:
- Interleaves each event’s detail
<TableRow>immediately after its corresponding main<TableRow>by mapping to a keyedFragment. - Removes the separate “Expanded Detail Row”
.map()that previously appended all detail rows after the main rows.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
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.
The Events page rendered expanded detail rows in a separate second .map() after all main rows, so every expanded panel appeared at the bottom of the table instead of beneath the clicked row. Fix: interleave each detail row immediately after its own main row within a single Fragment-keyed map. Web typecheck clean.
🤖 Generated with Claude Code
https://claude.ai/code/session_01F1ad6jb5mCYxzFVXHbksqi