Skip to content

feat: have all components default to english regardless of locale#1075

Draft
asanehisa wants to merge 3 commits intomainfrom
update-default-data
Draft

feat: have all components default to english regardless of locale#1075
asanehisa wants to merge 3 commits intomainfrom
update-default-data

Conversation

@asanehisa
Copy link
Contributor

Changed all our default values from { en: <value>, hasLocalizedValue: "true" } to <value>. This works as our code uses the non-localized value to fill in default data for all locales! And once the user changes a component's data, it is localized and won't use the default.

@asanehisa asanehisa added the create-dev-release Triggers dev release workflow label Mar 3, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 3, 2026

Warning: Component files have been updated but no migrations have been added. See https://github.com/yext/visual-editor/blob/main/packages/visual-editor/src/components/migrations/README.md for more information.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 3, 2026

commit: 431f158

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-dev-release Triggers dev release workflow

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant