Skip to content

Conversation

@benlife5
Copy link
Contributor

  • "blocks" -> "sections"
  • "page sections" -> "standard sections"
  • remove plugin rail from theme editor
Screenshot 2026-01-29 at 11 35 39 AM

@github-actions
Copy link
Contributor

github-actions bot commented Jan 29, 2026

⚠️ Deleted Translation Keys Detected

🔤 Deleted Translation Keys

categories

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

@github-actions
Copy link
Contributor

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.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 29, 2026

Walkthrough

This PR updates many visual-editor locale JSONs to rename the translation key categories.pageSections to categories.standardSections and adds a new top-level sections key across locales. Components (directoryConfig, locatorConfig, mainConfig, LayoutHeader) now use the pt(...) i18n helper with the new categories.standardSections key. Internal editor components import and register editor plugins (blocksPlugin, outlinePlugin, legacySideBarPlugin) and add a translated plugin label for "Sections".

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
Loading

Possibly related PRs

Suggested labels

create-dev-release

Suggested reviewers

  • briantstephan
  • colton-demetriou
  • asanehisa
  • mkilpatrick
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The PR title accurately describes the main change: renaming the blocks plugin to sections, which is reflected across locale files and component configurations.
Description check ✅ Passed The description is directly related to the changeset, outlining the three main changes: renaming blocks to sections, renaming page sections to standard sections, and removing the plugin rail from theme editor.

✏️ 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a 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.

@benlife5 benlife5 merged commit 34d4b83 into main Jan 29, 2026
17 checks passed
@benlife5 benlife5 deleted the rename-puck-plugins branch January 29, 2026 17:15
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.

3 participants