Skip to content

Conversation

@cpAdm
Copy link
Contributor

@cpAdm cpAdm commented Oct 31, 2025

  • Made sections collapsible by using<details>s
  • Store the collapsed state in local storage
  • Kept almost all existing styling, adapted margin-left to align the chevron with the close icon above
  • Added test

Before:
image

After:
image
image

references: #35214

);
};

const DetailsSection: React.FC<{
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we have a bunch of expandable controls that could be reused. Did none of them match?

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