HOLD: Sync event dashboard breakdown cards across a row - #2052
Draft
maebeale wants to merge 1 commit into
Draft
Conversation
The event dashboard groups its breakdown cards into rows of native <details>. Expanding one card left the others closed, so seeing every category's detail meant clicking each card individually. Mirror the open/closed state across the row instead: toggling one card toggles the rest, applied independently to the money row and the headcount row. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
🤖 suggested review level: 3 Read 📖 small progressive-enhancement Stimulus controller + two dashboard rows wired to it
What
Toggling one breakdown card on the event dashboard now opens/closes the rest of the cards in that row.
Why
<details>grouped into rows (money row + headcount row); expanding one left the others collapsed, forcing a click per card to compare categories.details_row_syncStimulus controller mirrors a card'sopenstate onto its row siblings. Applied independently per row, so the money row and headcount row toggle separately. Nested money-row<details>are unaffected (nativetoggledoesn't bubble).Test