-
Notifications
You must be signed in to change notification settings - Fork 0
fix: rename blocks plugin to sections #1009
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
Conversation
benlife5
commented
Jan 29, 2026
- "blocks" -> "sections"
- "page sections" -> "standard sections"
- remove plugin rail from theme editor
|
| Key | Languages Removed |
|---|---|
categories.pageSections |
cs,da de,en en-GB,es et,fi fr,hr hu,it ja,lt lv,nb nl,pl pt,ro sk,sv tr,zh zh-TW |
|
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. |
WalkthroughThis PR updates many visual-editor locale JSONs to rename the translation key Sequence Diagram(s)sequenceDiagram
participant Layout as LayoutHeader / Configs
participant I18n as i18n.pt()
participant Puck as Puck Editor
participant Blocks as blocksPlugin
participant Outline as outlinePlugin
participant Legacy as legacySideBarPlugin
Layout->>I18n: request "categories.standardSections"
I18n-->>Layout: localized label
Layout->>Puck: initialize (title/labels)
Puck->>Blocks: instantiate blocksPlugin(label: localized "Sections")
Puck->>Outline: instantiate outlinePlugin()
Puck->>Legacy: instantiate legacySideBarPlugin()
Puck-->>Layout: ready
Possibly related PRs
Suggested labels
Suggested reviewers
🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
🤖 Fix all issues with AI agents
In `@packages/visual-editor/locales/platform/hu/visual-editor.json`:
- Around line 685-686: The translation for the root key "sections" is
inconsistent with title-cased "section" and "fields.sections"; update the value
for "sections" from "szakaszok" to "Szakaszok" so the UI label/header casing
matches "section" and "fields.sections".
In `@packages/visual-editor/locales/platform/zh/visual-editor.json`:
- Line 55: The translation for the key "standardSections" is inaccurate
("标准型材"); update the JSON value for "standardSections" to a context-appropriate
Chinese phrase such as "标准区块" or "标准版块" (choose one consistent with your UI
terminology) so the label reflects UI sections/blocks rather than construction
materials; locate the "standardSections" entry in the locales JSON and replace
the value accordingly.