refactor: Unify section/group into single collapsible Group#2015
refactor: Unify section/group into single collapsible Group#2015alex-fedotyev wants to merge 2 commits intofeat/dashboard-dnd-organizationfrom
Conversation
…iner Merges the separate "section" (collapsible, borderless) and "group" (bordered, tabbed) concepts into a single "Group" type that is always bordered, always collapsible, and optionally tabbed. - Schema accepts 'section' for backward compat, new code writes 'group' - GroupContainer gains collapse chevron, tile count badge, default collapse toggle in overflow menu - SectionHeader component removed (functionality merged into GroupContainer) - Add menu simplified: single "New Group" instead of Section + Group - DnD components renamed from section to container terminology - All 56 dashboard tests updated and passing
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
PR ReviewClean refactor that merges
✅ Schema backward compat, hook renaming, DnD refactor, and the render-path unification all look correct. |
The count was misleading for tabbed groups (showed total across all tabs) and not actionable — users collapse to save space, not to see a summary.
Summary
Merges the separate "section" and "group" container types into a single Group concept that is:
This addresses the UX concern from #1972 that "section" and "group" are near-synonyms that force users to choose between two similar concepts.
What changed
'section'for backward compatibility, new code always writes'group'handleAddContainer()always creates a group with 1 default tabBuilds on
Test plan
type: 'section'containers still parse correctly🤖 Generated with Claude Code