Skip to content

Comments

feat: add minimalBranding option for cms#915

Merged
stevenle merged 3 commits intomainfrom
codex/add-minimalbranding-config-option
Feb 18, 2026
Merged

feat: add minimalBranding option for cms#915
stevenle merged 3 commits intomainfrom
codex/add-minimalbranding-config-option

Conversation

@stevenle
Copy link
Member

Motivation

  • Provide a config toggle to remove the Root CMS logo from the header and show the project/site name in its place for a minimal branded CMS UI.

Description

  • Added a new optional minimalBranding?: boolean field to CMSPluginOptions in packages/root-cms/core/plugin.ts to expose the feature.
  • Passed minimalBranding into the serialized client context at window.__ROOT_CTX.rootConfig with a default of false in packages/root-cms/core/app.tsx.
  • Updated the UI global typing to include minimalBranding in packages/root-cms/ui/ui.tsx.
  • Updated Layout.Top in packages/root-cms/ui/layout/Layout.tsx to conditionally hide the RootCMSLogo and version when minimalBranding is true and to render the project name right-aligned, and added a CSS modifier in packages/root-cms/ui/layout/Layout.css to handle positioning.

Testing

  • Ran pnpm exec prettier --check on the changed files, which failed due to the environment attempting to download pnpm (network/proxy restriction) so formatting checks could not complete.
  • Attempted a Playwright script to capture a screenshot at http://127.0.0.1:3000/cms, which failed because no local dev server was running at that address.
  • No additional automated tests were run in this environment due to the above constraints.

Codex Task

@stevenle stevenle changed the title feat(root-cms): add minimalBranding config option for CMS header feat: add minimalBranding option for cms Feb 18, 2026
@stevenle stevenle force-pushed the codex/add-minimalbranding-config-option branch from 3d834ee to ff13103 Compare February 18, 2026 17:49
@stevenle stevenle merged commit 79b9cab into main Feb 18, 2026
1 check passed
@stevenle stevenle deleted the codex/add-minimalbranding-config-option branch February 18, 2026 17:50
@github-actions github-actions bot mentioned this pull request Feb 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant