[Brand refactor] Testimonial fixes - #1439
Conversation
🦋 Changeset detectedLatest commit: 32dfcec The changes in this PR will be included in the next version bump. This PR includes changesets to release 9 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
🟢 No design token changes found |
🟢 Bundle size report
|
🟢 Unit test coverage changes foundUnit test coverage has been updated through this PR. Changes: 0 new tests, 0 removed tests, 1 improved, 0 decreased
|
|
There was a problem hiding this comment.
Pull request overview
Updates the Testimonial component’s expressive variant to match the BrandX v1.1 responsive design, including typography/layout changes and ensuring a single semantic link is rendered in the intended DOM order while being visually positioned per breakpoint.
Changes:
- Refactors expressive layout/styling (grid at large breakpoint, updated spacing/typography, link positioning behavior).
- Adds dedicated Storybook stories for expressive tablet/mobile and updates story wrappers for fullscreen layout/padding.
- Expands unit + visual coverage to lock in the new responsive behavior (including new tablet/mobile visual snapshots).
Show a summary per file
| File | Description |
|---|---|
.changeset/fix-responsive-expressive-testimonial.md |
Adds a patch changeset describing the expressive Testimonial update. |
packages/react/src/Testimonial/Testimonial.features.stories.tsx |
Adds expressive tablet/mobile stories and switches expressive examples to a shared padded container with fullscreen layout. |
packages/react/src/Testimonial/Testimonial.module.css |
Implements the updated expressive responsive layout (stack → grid), typography, spacing, and link placement styles. |
packages/react/src/Testimonial/Testimonial.module.css.d.ts |
Updates generated CSS module typings for new/added class names. |
packages/react/src/Testimonial/Testimonial.stories.module.css |
Introduces an expressiveContainer wrapper for consistent max-width + responsive padding in stories. |
packages/react/src/Testimonial/Testimonial.stories.module.css.d.ts |
Updates generated story CSS module typings for the new container class. |
packages/react/src/Testimonial/Testimonial.test.tsx |
Updates/expands unit tests to assert a single link renders after attribution for expressive while preserving non-expressive behavior. |
packages/react/src/Testimonial/Testimonial.tsx |
Adjusts expressive DOM placement and adds a conditional class to support grid row behavior when a link exists. |
packages/react/src/Testimonial/Testimonial.visual.spec.ts |
Adds new tablet and mobile visual regression tests for expressive stories. |
Review details
- Files reviewed: 7/15 changed files
- Comments generated: 0
- Review effort level: Lite
rezrah
left a comment
There was a problem hiding this comment.
Code changes LGTM. Deferring to @jesussandreas or Site on design accuracy and sign off.
|
@rezrah looks great, i have 2 comments:
|
|
@danielguillan @rezrah one last question, for the spacing - are we baking those inside each component or how are we handling those? i see currently is set to 48px~ or so. thats okay just wondering if we want a fix value here or have it dynamic? |
|
@jesussandreas I'm stepping in for Dani on this PR as he's now OOO. I'm coming in with almost zero context, so bear with me. I've so far focussed on:
Assuming Dani's previous changes cover everything else.
Testimonial doesn't usually include it's own padding. We also generally don't add margins or internal outer paddings to components unless they are:
In this case, i would say the latter definitely matches. So I've added internal padding to match designs
If these look wrong though, can we update the Figma layouts please. Another thing i changed was adding AA to the text. Something looked really off about Storybook, and I'm pretty sure it was just the lack of AA that is enabled in Figma.
@jesussandreas we need to land this pretty soon to unblock the release. Can you please ✔️ or guide me on next steps / remaining issues. |




Summary
Resolves #1436
Updates the expressive
Testimonialvariant to match the latest designs across desktop, tablet, and mobile.🔗 Desktop story
List of notable changes
Note
The requested 88px top and bottom section padding is intentionally not owned by
Testimonial. Vertical section spacing remains the responsibility of the consumingSectionorBoxcomposition, which should apply--base-size-88where required.What should reviewers focus on?
Testimonialvariants retain their existing behavior.Steps to test
Supporting resources
Contributor checklist
Testimonialbranch coverage increasedReviewer checklist
Screenshots