Skip to content

Conversation

@jurgenbelien
Copy link
Contributor

No description provided.

@vercel
Copy link

vercel bot commented Dec 15, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
clippy-storybook Ready Ready Preview, Comment Dec 16, 2025 2:40pm
theme-wizard Ready Ready Preview, Comment Dec 16, 2025 2:40pm
theme-wizard-server Ready Ready Preview, Comment Dec 16, 2025 2:40pm

@codecov-commenter
Copy link

codecov-commenter commented Dec 15, 2025

Codecov Report

❌ Patch coverage is 91.04478% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 94.09%. Comparing base (c454e47) to head (2620c10).
⚠️ Report is 107 commits behind head on main.

Files with missing lines Patch % Lines
...clippy-components/src/clippy-color-combobox/lib.ts 57.14% 0 Missing and 6 partials ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##              main     #267      +/-   ##
===========================================
- Coverage   100.00%   94.09%   -5.91%     
===========================================
  Files           12       45      +33     
  Lines          694     1254     +560     
  Branches       100      264     +164     
===========================================
+ Hits           694     1180     +486     
- Misses           0       61      +61     
- Partials         0       13      +13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@sonarqubecloud
Copy link

// decorators: [StoryRootDecorator],
initialGlobals: {
storyRootClassname: 'voorbeeld-theme',
storyRootClassname: 'ma-theme',
Copy link
Contributor

Choose a reason for hiding this comment

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

werkt dit? ik dacht dat storyRootClassname niet bestond

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

Ik heb t niet opgezocht tbh, die storyRootClassname stond er, en ik zie nu n ma-theme hier in de body van de preview iframe


async loadLocalizations(lang: string) {
const SEPARATOR = '-';
const subtags = lang.split(SEPARATOR);
Copy link
Contributor

Choose a reason for hiding this comment

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

Ik weet niet 100% zeker of ik de context goed heb, maar je kunt ook Intl.Locale gebruiken om de language en region te pakken:

// lang = 'en-US';
const locale = new Intl.Locale(lang)
const region = locale.region; // 'US'
const language = locale.language; // 'en'

Copy link
Contributor Author

@jurgenbelien jurgenbelien Dec 19, 2025

Choose a reason for hiding this comment

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

M'n gedachte was "stel nu er is een woord (of kleurnaam) in een taal hetzelfde, maar een locale of schrift heeft daar een uitzondering op", dan wil je naast je <language>.ts file ook een <language>-<region>.ts of een <language>-<region>-<script>.ts hebben die je dan inlaadt. Voor specifiek die cascade zit die functie erin. Ik kan m expliciet maken met het eerst via de Intl.locale doen of doen totdat de streepjes op zijn. Dat eerste is misschien wel duidelijker ja 😅

},
"scripts": {
"dev": "pnpm run storybook",
"dev": "pnpm run storybook --no-open",
Copy link
Contributor

Choose a reason for hiding this comment

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

THAAAANKKSSSS

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair warning: losse PR gemaakt want ik trok het niet meer #287

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.

5 participants