Skip to content

fix(portal): show variant Pair with requirements - #236

Merged
KB-x merged 1 commit into
mainfrom
pair
Sep 30, 2026
Merged

KB-x merged 1 commit into
mainfrom
pair

Conversation

@KB-x

@KB-x KB-x commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Summary

Restore the Pair with section for snippets whose dependencies use device-selected variant forms. The catalog already includes these requirements; the portal previously rendered only fixed-path references.

  • Display variant groups and their required families alongside existing fixed dependencies.
  • Label variants as device-selected forms without presenting alternatives as requirements to include together.
  • Keep snippet headers, configuration bodies, and catalog data unchanged.

Validation

  • Production portal build passed.
  • The reported EVO EVPN-VPWS snippet displays mebs-bgp-overlay and required family evpn in the browser.
  • Dependency section fits at 390px without horizontal overflow.
  • Patch whitespace checks passed.

An existing unrelated UrlState fallback typing diagnostic is unchanged.

Render variant requirements alongside fixed-path dependencies so snippets with device-selected forms retain their Pair with section.

- Add variantRequires to the portal snippet type.
- Display each required variant group and its families as a device-selected form.

No snippet headers, configuration bodies, or catalog data change.
@KB-x KB-x self-assigned this Sep 30, 2026
@KB-x
KB-x merged commit 732aa76 into main Sep 30, 2026
3 checks passed
@KB-x
KB-x deleted the pair branch September 30, 2026 16:15
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.

1 participant