Skip to content

Replace tabs with collapsible sections on item detail - #37

Merged
amrtgaber merged 2 commits into
mainfrom
feat/collapsible-detail-sections
Feb 7, 2026
Merged

Replace tabs with collapsible sections on item detail#37
amrtgaber merged 2 commits into
mainfrom
feat/collapsible-detail-sections

Conversation

@amrtgaber

Copy link
Copy Markdown
Contributor

Summary

  • Replace tab-based layout with collapsible sections so all content is visible at once
  • Add "Expand all / Collapse all" toggle button
  • All 6 sections (Details, Images, Provenance, Dimensions, Marks, Notes) default to open
  • Uses same Collapsible pattern as ItemForm for consistency

Test plan

  • All 15 existing tests pass
  • Build succeeds
  • Manual: verify all sections expand/collapse individually and via toggle-all button

Note: This PR targets feat/unified-item-form (PR #36) since both touch item-detail-page.tsx. Merge PR #36 first, then update this PR's base to main.

Remove the create-only restriction on marks and notes sections in
ItemForm, and update EditItemDialog to handle creating marks and notes
after a successful edit.
Switch from Tabs to Collapsible sections so all content is visible at
once. Add expand/collapse all toggle. Sections default to open.
Base automatically changed from feat/unified-item-form to main February 7, 2026 00:49
@amrtgaber
amrtgaber merged commit cb3899e into main Feb 7, 2026
@amrtgaber
amrtgaber deleted the feat/collapsible-detail-sections branch February 7, 2026 00:51
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.

1 participant