PUI-36 feat(sidebar): add a link slot for router links #112

Merged
pienter merged 4 commits from feature/PUI-36-add-a-link-slot-to-sidebar-for-router-links into main 2026-09-22 11:12:48 +00:00
Owner

Stacked on the PUI-31 PR.

Sidebar renders every navigable entry through an optional #link slot that AppLayout forwards, copying Breadcrumb's pattern; the scope adds attrs and content so a RouterLink keeps the keyboard, flyout and drawer wiring. The Playground renders RouterLinks through it and drops its click interception. Also carries 8319214 (switch fields reject required, Refs PUI-30).

Checks: typecheck, lint, format:check, bun test, build:vue, build:storybook; SSR output without the slot unchanged. No browser check (dev servers down); CustomLinks play test not run.

Refs: PUI-36

Stacked on the PUI-31 PR. Sidebar renders every navigable entry through an optional #link slot that AppLayout forwards, copying Breadcrumb's pattern; the scope adds attrs and content so a RouterLink keeps the keyboard, flyout and drawer wiring. The Playground renders RouterLinks through it and drops its click interception. Also carries 8319214 (switch fields reject required, Refs PUI-30). Checks: typecheck, lint, format:check, bun test, build:vue, build:storybook; SSR output without the slot unchanged. No browser check (dev servers down); CustomLinks play test not run. Refs: PUI-36
Sidebar renders every navigable entry (links, group rows with an href,
flyout children and bottom items) through an optional #link slot that
AppLayout forwards, copying Breadcrumb's pattern. The scope adds attrs and
content so a RouterLink keeps the keyboard, flyout and drawer wiring.
Without the slot the output is unchanged.

Refs: PUI-36
Drops the document-level click interception in App.vue now that
AppLayout's #link slot takes a RouterLink directly.

Refs: PUI-36
fix(record-form): reject required on switch fields
All checks were successful
ci / lint (pull_request) Successful in 42s
ci / typecheck (pull_request) Successful in 34s
ci / format (pull_request) Successful in 35s
ci / release (pull_request) Has been skipped
83192140d5
Switch has no required prop, so RecordFields silently dropped it. The
field type now excludes it; a required toggle is a checkbox.

Refs: PUI-30
pienter changed target branch from feature/PUI-31-remove-recorddetails-and-show-related-records-in-v to main 2026-09-22 11:08:15 +00:00
merge
All checks were successful
ci / typecheck (pull_request) Successful in 32s
ci / lint (pull_request) Successful in 35s
ci / format (pull_request) Successful in 37s
ci / release (pull_request) Has been skipped
079aa1e53c
pienter deleted branch feature/PUI-36-add-a-link-slot-to-sidebar-for-router-links 2026-09-22 11:12:48 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
pienter/ui!112
No description provided.