Skip to content

feat(preview): Add VersionPreview interactive component#673

Merged
deleonio merged 1 commit intomainfrom
copilot/version-preview-fixes
Apr 10, 2026
Merged

feat(preview): Add VersionPreview interactive component#673
deleonio merged 1 commit intomainfrom
copilot/version-preview-fixes

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 10, 2026

Migrates the static Version component documentation to use the interactive preview system, replacing the hardcoded HTML snippets, LiveEditorCompact, and Configurator with a live VersionPreview component.

Changes

  • src/components/previews/components/Version.tsx — New preview component; single _label property, PreviewLayout.CENTERED (inline element)
  • i18n/de/code.json / i18n/en/code.json — Added preview.component.version.label translation key ("1.44.0")
  • docs/30-components/version.mdx — Replaced static code block + example + Live-Editor + Configurator sections with <VersionPreview>; restructured API section
  • i18n/en/…/version.mdx — Same migration for English locale
<VersionPreview
  visibleProperties={['_label']}
  codeCollapsable
  codeCollapsed
/>

Copilot AI linked an issue Apr 10, 2026 that may be closed by this pull request
Copilot AI changed the title [WIP] Fix issues with version preview component feat(preview): Add VersionPreview interactive component Apr 10, 2026
Copilot AI requested a review from laske185 April 10, 2026 07:54
@laske185 laske185 force-pushed the copilot/version-preview-fixes branch from 37c0e1e to c00a284 Compare April 10, 2026 09:04
@laske185 laske185 marked this pull request as ready for review April 10, 2026 09:04
@github-actions
Copy link
Copy Markdown

@deleonio deleonio merged commit 9042f80 into main Apr 10, 2026
4 of 7 checks passed
@deleonio deleonio deleted the copilot/version-preview-fixes branch April 10, 2026 18:37
@publicuibot publicuibot bot locked and limited conversation to collaborators Apr 10, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Version-Preview

3 participants