-
Couldn't load subscription status.
- Fork 3.1k
refactor: echo-419: bem settings files migration #8711
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
Migrated SettingsRenderer component from Block/Elem to cn() helper.
- Replaced Block/Elem imports with cn import
- Replaced <Block name="settings"> with <div className={cn("settings")...}>
- Replaced <Elem name="field"> with <div className={cn("settings").elem("field")...}>
- Preserved onChange handlers and all props
- No behavior change, equivalent class strings
Migrated Settings component from Block/Elem to cn() helper.
- Replaced Block/Elem imports with cn import
- Replaced <Block name="keys"> with <div className={cn("keys")...}>
- Replaced <Elem name="key-group"> with <div className={cn("keys").elem("key-group")...}>
- Replaced <Elem tag="kbd" name="key"> with <kbd className={cn("keys").elem("key")...}>
- Replaced <Block name="settings-tag"> with <div className={cn("settings-tag")...}>
- Replaced <Block name="settings"> in GeneralSettings and LayoutSettings
- Replaced <Elem name="field" tag="label"> with <label className={cn("settings").elem("field")...}>
- Replaced nested <Block name="settings__label"> with <div className={cn("settings__label")...}>
- Replaced nested Elems "title" and "description" within settings__label
- Replaced <Block tag={Modal}> with <Modal className={cn(modalName)...}> and explicit props
- All Elems within each Block scope use correct block name
- Preserved all mods, handlers, and props
- No behavior change, equivalent class strings
✅ Deploy Preview for heartex-docs canceled.
|
✅ Deploy Preview for label-studio-storybook ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
✅ Deploy Preview for label-studio-docs-new-theme canceled.
|
✅ Deploy Preview for label-studio-playground ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8711 +/- ##
===========================================
- Coverage 66.97% 59.93% -7.05%
===========================================
Files 789 551 -238
Lines 60566 38991 -21575
Branches 10310 10310
===========================================
- Hits 40564 23369 -17195
+ Misses 19999 15619 -4380
Partials 3 3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Another small migration for BEM in the settings section of the editor.