Skip to content

feat(preview): Add interactive SkipNavPreview component#671

Open
Copilot wants to merge 2 commits intomainfrom
copilot/skipnav-preview
Open

feat(preview): Add interactive SkipNavPreview component#671
Copilot wants to merge 2 commits intomainfrom
copilot/skipnav-preview

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Replaces static HTML code snippets and LiveEditorCompact/Configurator blocks on the SkipNav docs page with an interactive SkipNavPreview component, consistent with the pattern used across other component pages.

Changes

  • src/components/previews/components/SkipNav.tsx — New preview component; _label via KolInputText, _links via KolTextarea JSON editor (same pattern as Toolbar.tsx for complex array props), with JSON parse validation and error display
  • docs/30-components/skip-nav.mdx / i18n/en/.../skip-nav.mdx — Swap static example + Live-Editor + Configurator sections for <SkipNavPreview visibleProperties={['_label', '_links']} codeCollapsable codeCollapsed />; add # API heading; fix broken #SkipNav heading in EN file
  • i18n/de/code.json / i18n/en/code.json — Add preview.component.skip-nav.label translation key ("Versteckte Navigation" / "Skip Navigation")

Copilot AI linked an issue Apr 10, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Add SkipNav component preview feat(preview): Add interactive SkipNavPreview component Apr 10, 2026
Copilot AI requested a review from laske185 April 10, 2026 07:52
@laske185 laske185 force-pushed the copilot/skipnav-preview branch from f89773c to 747dc54 Compare April 10, 2026 08:58
@laske185 laske185 marked this pull request as ready for review April 10, 2026 08:58
@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 10, 2026

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.

SkipNav-Preview

2 participants