Skip to content

feat(ui): polish language and testimonial experience#76

Merged
elboletaire merged 1 commit into
mainfrom
tweaks-and-improvements
May 5, 2026
Merged

feat(ui): polish language and testimonial experience#76
elboletaire merged 1 commit into
mainfrom
tweaks-and-improvements

Conversation

@ferranrego
Copy link
Copy Markdown
Member

Summary

  • Preserved scroll position when switching languages from the navbar.
  • Sped up section reveal animations so fast scrolling does not expose empty sections.
  • Cleaned em dashes from copy and comments.
  • Updated testimonial organization names and translations.
  • Improved testimonial carousel responsiveness so all testimonials are available on mobile/tablet/desktop, with slower auto-scroll on fewer columns.

Validation

  • pnpm validate
  • commit format follows the repo convention
  • user-facing copy uses react-i18next
  • pnpm translations was run or pnpm guardrails:translations passes cleanly
  • new components follow the repo folder policy

Copilot AI review requested due to automatic review settings May 5, 2026 10:46
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 5, 2026

@github-actions github-actions Bot temporarily deployed to pull request May 5, 2026 10:47 Inactive
@elboletaire elboletaire merged commit dd0666f into main May 5, 2026
6 checks passed
@elboletaire elboletaire deleted the tweaks-and-improvements branch May 5, 2026 10:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR polishes localized UI copy, updates testimonial metadata/translations, and adjusts motion/testimonial presentation for a smoother UX—especially during fast scrolling and across responsive breakpoints.

Changes:

  • Refines copy/typography (removing em dashes) and updates testimonial organization names across locales and runtime testimonial data.
  • Updates reveal animation timing/margins and makes the testimonial marquee responsive to viewport column count with tuned auto-scroll durations.
  • Adjusts language switcher behavior/props in an attempt to preserve scroll position during locale changes.

Reviewed changes

Copilot reviewed 17 out of 17 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
scripts/guardrails/check-dynamic-translation-keys.mjs Copy guideline-aligned console output (remove em dashes).
locales/es/common.json Spanish copy punctuation cleanup + testimonial org name updates.
locales/en/common.json English testimonial org name updates + added platform_name translation key.
locales/ca/common.json Catalan testimonial org name updates + added platform_name translation key.
lib/testimonials-data.ts Updates testimonial handles/org names and aligns some fallback copy punctuation.
components/ui/motion-preset.tsx Adjusts in-view margin and scales/caps transition timing for in-view reveals.
components/shadcn-studio/blocks/use-cases/use-cases-grid.tsx Comment copy cleanup (remove em dashes).
components/shadcn-studio/blocks/testimonials-component-03/testimonials-component-03.tsx Responsive column-count marquee layout + per-column-count durations.
components/shadcn-studio/blocks/about-us-page-07/about-us-page-07.tsx Comment copy cleanup (remove em dashes).
components/Link.tsx Adds a keep-scroll-position anchor prop to be forwarded to <a>.
components/legal/terms/TermsES.tsx Legal footer punctuation cleanup (remove em dash).
components/legal/terms/TermsEN.tsx Legal footer punctuation cleanup (remove em dash).
components/legal/terms/TermsCA.tsx Legal footer punctuation cleanup (remove em dash).
components/LanguageSwitcher.tsx Dropdown behavior tweaks + attempts to preserve scroll on locale switching.
components/app/CleanYoutubePlayer.tsx Comment copy cleanup (remove em dashes).
components/app/AppHeroWithVideo.tsx Subtitle punctuation tweak (remove em dash).
AGENTS.md Updates copy guideline wording re: avoiding em dashes.

Comment thread components/Link.tsx
Comment on lines 33 to 37
export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>, VariantProps<typeof linkVariants> {
href: string
locale?: Locale
'keep-scroll-position'?: 'true' | 'false'
}
Comment on lines 56 to 63
return (
<DropdownMenuItem key={lang.value} asChild>
<Link
href={href}
locale={lang.value}
onClick={() => setLocalePreference(lang.value)}
keep-scroll-position='true'
onClick={handleClick}
variant='dropdownItem'
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.

3 participants