Skip to content

refactor(branding): follow the module layout (moves only) - #846

Merged
antosubash merged 1 commit into
mainfrom
refactor/layout-branding
Nov 5, 2026
Merged

antosubash merged 1 commit into
mainfrom
refactor/layout-branding

Conversation

@antosubash

Copy link
Copy Markdown
Owner

Summary

Moves-only restructure of modules/branding to docs/module-layout.md, same pattern as #845 (api_tokens).

  • constants/settings/services/service/presets/tenant_definitions/tenant_branding -> branding/core/
  • images (upload validation) and reaper -> branding/assets/ (added to DOMAIN_AREAS)
  • deps/shared_props/endpoints -> branding/web/
  • top-level React components/ -> ui/components/, page and tests-js imports rewritten
  • Python tests mirror the areas, with test_branding_* basenames
  • branding.{constants,settings,services,tenant_branding,images} and branding.endpoints.assets stay as deprecated sys.modules aliases (remove_in 0.0.46) because smpy_modules imports them; branding/endpoints/ is an alias-only package.

No logic changes: settings keys, permissions, i18n keys, routes and app.state.branding.* are unchanged.

Verification

  • make lint, make doctor, make ci-api-types-fresh, make ci-docs-build, make ci-css-build pass
  • make test-py (7876 passed, 45 skipped), make test-js pass
  • Alias identity check passes; our code imports no alias path (-W error::DeprecationWarning)
  • Browser smoke: edited app name and colour and saved (persisted after reload), uploaded a PNG logo, /api/branding/logo serves 200 image/png anonymously, 0 console errors

https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq

constants, settings, services, the branding service, presets and the
tenant-overridable definitions and resolution move to branding/core/;
image validation and the reaper to branding/assets/; deps, the shared-
props provider and endpoints to branding/web/; the form components from
components/ to ui/components/. Tests mirror the areas.
branding.{constants,settings,services,tenant_branding,images} and
branding.endpoints.assets stay as deprecated aliases until 0.0.46.

Claude-Session: https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 5, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-11-05T19:15:50.353888Z 187dcf9 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 187dcf9
Status: ✅  Deploy successful!
Preview URL: https://f46cd610.simple-module-python.pages.dev
Branch Preview URL: https://refactor-layout-branding.simple-module-python.pages.dev

View logs

@antosubash
antosubash merged commit a82d025 into main Nov 5, 2026
16 checks passed
@antosubash
antosubash deleted the refactor/layout-branding branch November 5, 2026 19:18
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.

1 participant