Skip to content

Update hightide to 0.18.0, add 10 new languages and round the team realm frame - #19

Merged
felixevers merged 6 commits into
mainfrom
ccr-35fdca03-cxobv3
Oct 13, 2026
Merged

felixevers merged 6 commits into
mainfrom
ccr-35fdca03-cxobv3

Conversation

@felixevers

@felixevers felixevers commented Oct 13, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Bumps @helpwave/hightide from 0.15.0 to 0.18.0.
    • Migrates to the context-based translation API: app translations are passed to HightideProvider (translation prop), and src/i18n/useTranslation.ts reads them from context. The Storybook preview uses the same setup.
    • Adapts LoginOtp to the new Select API: Select.Option and triggerProps.
    • hightide 0.18.0 still leaves 9 of its own strings untranslated in some locales (fr-FR, it-IT, nl-NL). src/i18n/hightideConfig.ts adds an English fallback after hightide's translations, so these show in English instead of as {{locale:key}} placeholders.
  • Adds app translations for the 10 languages that hightide 0.18 supports: es-ES, fr-FR, it-IT, nl-NL, pl-PL, pt-BR, ro-RO, ru-RU, tr-TR, el-GR.
    • Each locale has the same keys as en-US and uses the formal register.
    • Plurals use the categories the ICU resolver actually supports (=0/=1/=2/few/many/other).
  • check-translations now fails on ASCII apostrophes and on unsupported plural categories. The ICU compiler treats ' as a quote character and silently dropped messages that contained one, for example {{it-IT:backToAccount}}.
  • Team realm frame: the 4px viewport frame now starts below the sticky banner and has a rounded inner edge, so the page content sits in a rounded box inside the realm color.

Test plan

  • npm run check-translations, npm run lint, npm run typecheck, npm run build
  • Every app key in every locale resolves to its ARB value. Verified by loading the generated translations.
  • Every hightide key resolves in every locale, with no {{…}} placeholders.
  • Team realm frame checked in screenshots at desktop and mobile width
  • Native-speaker review of the new translations

🤖 Generated with Claude Code

https://claude.ai/code/session_018UdLmpCT1rJ39n1d22CkJn

- Migrate to context-based translations (HightideProvider translation prop)
- Use Select.Option / triggerProps after the Select API change
- Register additional locales with English fallback for hightide strings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UdLmpCT1rJ39n1d22CkJn
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UdLmpCT1rJ39n1d22CkJn
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Oct 13, 2026 •

Copy link
Copy Markdown

Deploying id-helpwave-de with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4afee49
Status: ✅  Deploy successful!
Preview URL: https://e8966114.id-helpwave-de.pages.dev
Branch Preview URL: https://ccr-35fdca03-cxobv3.id-helpwave-de.pages.dev

View logs

ASCII apostrophes are ICU quote characters and caused 23 messages to be
dropped or mangled (e.g. {{it-IT:backToAccount}}). Use typographic
apostrophes instead and fail check-translations on ASCII apostrophes.
The plural resolver only knows =0/=1/=2/few/many/other, so replace the
unsupported 'one' category in Russian and align Polish/Romanian.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UdLmpCT1rJ39n1d22CkJn
hightide now ships all 12 locales by default, so the custom
supportedLocales list is no longer needed. Keep an English fallback for
the few hightide keys that are still untranslated in some locales.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UdLmpCT1rJ39n1d22CkJn
The frame now starts below the sticky banner and draws its inner edge as
a rounded box, so the page content sits inside a rounded card framed by
the realm color.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018UdLmpCT1rJ39n1d22CkJn
@felixevers felixevers changed the title Update hightide to 0.17.2 and add 10 new languages Update hightide to 0.18.0, add 10 new languages and round the team realm frame Oct 13, 2026
@felixevers
felixevers merged commit 6067627 into main Oct 13, 2026
5 checks passed
@felixevers
felixevers deleted the ccr-35fdca03-cxobv3 branch October 13, 2026 10:45
@felixevers felixevers mentioned this pull request Oct 13, 2026
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