Skip to content

feat(#5316): add collapsible health details with localStorage persistence#5364

Open
SteKoe wants to merge 2 commits into
masterfrom
feat/5316-allow-to-collapse-health-details
Open

feat(#5316): add collapsible health details with localStorage persistence#5364
SteKoe wants to merge 2 commits into
masterfrom
feat/5316-allow-to-collapse-health-details

Conversation

@SteKoe
Copy link
Copy Markdown
Contributor

@SteKoe SteKoe commented May 15, 2026

This pull request improves the HealthDetails component by adding a collapsible details section for health information, enhancing accessibility, and ensuring the collapsed state is persisted per instance. It also updates tests to cover the new behavior and adds internationalized strings for the toggle button in multiple languages.

HealthDetails Component Enhancements:

  • Added a collapsible section for health details, including a toggle button with ARIA attributes for accessibility, and persisted the collapsed state in localStorage per instance and health group. [1] [2]
  • Updated the details layout for better alignment and visual clarity, and passed the instance prop to child health-details components. [1] [2] [3] [4]

Testing Improvements:

  • Added comprehensive tests for the collapsible details functionality, including ARIA attributes, toggle behavior, persistence in localStorage, and correct handling of child health components. [1] [2] [3] [4]

Internationalization:

Bildschirmaufnahme.2026-05-15.um.21.37.36.mov

@SteKoe SteKoe requested a review from a team as a code owner May 15, 2026 19:43
@SteKoe SteKoe force-pushed the feat/5316-allow-to-collapse-health-details branch from c3e317f to bcdefed Compare May 16, 2026 17:58
@SteKoe SteKoe force-pushed the feat/5316-allow-to-collapse-health-details branch from d351630 to cce83df Compare May 16, 2026 20:04
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