Skip to content

fix(ui): show inherited nodes in the shared disclosure - #1350

Merged
TheMeinerLP merged 2 commits into
mainfrom
fix/inherited-section-disclosure
Nov 23, 2026
Merged

TheMeinerLP merged 2 commits into
mainfrom
fix/inherited-section-disclosure

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The inherited-nodes section of the node editor had its own collapse button, chevron and aria-expanded handling, unlike every other disclosure in the dashboard. It now uses the shared disclosure, so the browser owns the open state and keyboard. The warning lines keep role=alert and the anchor keeps its name. MdDisclosure gains assertions for its native behaviour: a details element, the open attribute following the prop, no aria-expanded, and a hidden body while collapsed. Focus staying on the summary was already covered.

Part of migrate-content-to-components 4.8 and 4.9 (the RunHistory part was already on MdDisclosure).

Type of change

  • fix - bug fix
  • test - tests only

How was this tested?

  • npm run eslint and npm run typecheck: clean
  • vitest on MdDisclosure, src/components/access, src/anchors, src/style-gate: 1369 passed
  • NodeEditor inherited tests were rewritten first and failed before the component change

Checklist

  • Commit messages follow the Conventional Commits convention
  • Tests cover the change
  • ./gradlew build passes locally (frontend only change)
  • Existing copyright headers are preserved
  • No credentials, tokens or personal data are included in the diff

The inherited section drew its own button, chevron and aria-expanded
state. It now uses MdDisclosure, so the browser owns the open state.
The warning lines keep role=alert.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
Cover the details element, the open attribute following the prop, no
aria-expanded and a hidden body while collapsed.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP TheMeinerLP added the ci:e2e Run the dashboard end-to-end tests label Nov 23, 2026
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 38375ea Nov 23, 2026
55 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix/inherited-section-disclosure branch November 23, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:e2e Run the dashboard end-to-end tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant