Skip to content

fix(ui): build permission node rows from the shared list item - #1242

Merged
TheMeinerLP merged 2 commits into
mainfrom
fix/ui-node-row-list-item
Nov 23, 2026
Merged

TheMeinerLP merged 2 commits into
mainfrom
fix/ui-node-row-list-item

Conversation

@TheMeinerLP

Copy link
Copy Markdown

Description

The permission node rows of the access pages drew their own padding and divider instead of using the shared list row. They now use MdListItem inside an MdList, so they look and size like every other list on the dashboard. Nothing changes for the user besides the shared row spacing; the Allow/Deny choice, remove button, error text and the focus after adding a node behave as before.

Part of task 4.7 of migrate-content-to-components (node rows). The other rows of 4.7 are already on main.

Type of change

  • fix - bug fix (UI consistency)

How was this tested?

  • New NodeRow.test.ts (row is a list item, keeps its controls, carries the node attributes the editor focuses on, read only state).
  • npx vitest run src/components/access src/anchors src/style-gate: 56 files, 1233 tests passed.
  • npm run typecheck: clean.
  • Two existing selectors were adjusted: the node attributes now sit on the row element itself.

Checklist

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

@TheMeinerLP TheMeinerLP added the ci:e2e Run the dashboard end-to-end tests label Nov 23, 2026
NodeRow drew its own padded div. It is now an MdListItem, and the node
editor and the tree view put it into an MdList, so the row padding,
height and divider come from the shared component.

Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
@TheMeinerLP
TheMeinerLP force-pushed the fix/ui-node-row-list-item branch from 91af44b to 501abe8 Compare November 23, 2026 07:23
@TheMeinerLP
TheMeinerLP added this pull request to the merge queue Nov 23, 2026
Merged via the queue into main with commit 5860e94 Nov 23, 2026
41 checks passed
@TheMeinerLP
TheMeinerLP deleted the fix/ui-node-row-list-item branch November 23, 2026 08:19
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