Skip to content

feat(ui-react)!: update PageHeader to match current Figma anatomy#554

Merged
madjorr merged 6 commits into
acronis:mainfrom
madjorr:feature/page-header
Jul 21, 2026
Merged

feat(ui-react)!: update PageHeader to match current Figma anatomy#554
madjorr merged 6 commits into
acronis:mainfrom
madjorr:feature/page-header

Conversation

@madjorr

@madjorr madjorr commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Add PageHeaderTags and PageHeaderDescriptionRow, restyle the title to the design's 24px/regular style, and remove PageHeaderBreadcrumb — the breadcrumb is now a separate sibling above PageHeader in the design, not one of its parts. Re-map Code Connect to the real master component (node 2905-7678) and refresh the ui-spec, tests, stories, and VR baselines to match.

BREAKING CHANGE: PageHeaderBreadcrumb is removed. Render a Breadcrumb above PageHeader instead of nesting one inside it.

Type of change

  • Documentation (updates to the documentation, readme or JSDoc annotations)
  • Bug fix (a non-breaking change that fixes an issue)
  • Enhancement (improving an existing functionality like performance)
  • New feature (a non-breaking change that adds functionality)
  • Refactoring (old API is revised and supported)
  • Chore (updates to the build process or auxiliary tools and libraries)
  • Breaking change (fix or feature that would cause existing functionality to change)

Description

Related issue

  • Fixes # (issue)
  • Closes # (issue)
  • Related # (issue)

📸 Screenshots (if appropriate)

image image image

Checklist

  • I have linked an issue or discussion;
  • I have updated the documentation accordingly;
  • I have added or updated tests to cover my changes;
  • I have performed a self-review of my code;
  • My code follows the style guidelines of this project;
  • My changes generate no new warnings.

@madjorr
madjorr requested a review from marta-sampedro July 20, 2026 13:53
@madjorr
madjorr force-pushed the feature/page-header branch from 1c6a781 to 94a7c40 Compare July 20, 2026 14:01
madjorr added 4 commits July 21, 2026 09:31
Add PageHeaderTags and PageHeaderDescriptionRow, restyle the title to the
design's 24px/regular style, and remove PageHeaderBreadcrumb — the
breadcrumb is now a separate sibling above PageHeader in the design, not
one of its parts. Re-map Code Connect to the real master component
(node 2905-7678) and refresh the ui-spec, tests, stories, and VR baselines
to match.

BREAKING CHANGE: PageHeaderBreadcrumb is removed. Render a Breadcrumb
above PageHeader instead of nesting one inside it.
Implements the two hard requirements from the Figma "Breakpoints" page
that were previously unimplemented: PageHeaderTags collapses to the
first tag plus a "+#" tag (tooltip lists the hidden labels) when the
full set doesn't fit, and PageHeaderActions folds secondary buttons
under a single "More" ButtonIcon menu, leaving primary buttons always
visible. Both are all-or-nothing collapses per the Figma wording, not
a partial "however many fit" reflow.

Also fixes PageHeaderDescriptionRow to use items-start instead of
items-center, so the edit pencil sits flush with the first line of a
wrapped description instead of floating mid-paragraph, matching Figma.
…" menu

Folding reconstructs a secondary action as a "Menu Item" with a single
click action — a trigger component like ButtonMenu opens its own menu
instead, so it has nothing to reduce to and silently became inert when
folded. isSecondaryAction now also requires item.type === Button; non-
Button actions stay visible and unfolded even with variant="secondary".
Updates the two stories that misused ButtonMenu this way, the ui-spec
behavior scenario, and regenerates the affected VR baseline.
@madjorr
madjorr force-pushed the feature/page-header branch from 94a7c40 to ae49633 Compare July 21, 2026 07:00
madjorr added 2 commits July 21, 2026 10:51
…into "More" menu

A folded Button used render to become a link (e.g. render={<a href=...>}) lost
that behavior once collapsed — DropdownMenuItem only picked disabled/onClick/
children. Also regenerate the stale dark-mode VR baseline for
WithTagsAndActions.
…ions into "More" menu

Folding reconstructed the menu item from only disabled/onClick/render/children,
dropping aria-label and other native attributes — breaking accessible names for
icon-only secondary actions once they overflow into the "More" menu.
@madjorr
madjorr merged commit 5674b2a into acronis:main Jul 21, 2026
6 checks passed
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.

2 participants