Skip to content

refactor(gh-999): simplify header logo rendering#1189

Merged
wesleyboar merged 8 commits into
feat/GH-999-let-cms-admin-edit-headerfrom
refactor/GH-999-simplify-header-logo
Jun 19, 2026
Merged

refactor(gh-999): simplify header logo rendering#1189
wesleyboar merged 8 commits into
feat/GH-999-let-cms-admin-edit-headerfrom
refactor/GH-999-simplify-header-logo

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Jun 18, 2026

Copy link
Copy Markdown
Member

Overview

Stacks on #1083. Drops the extra ContentRenderer path and duplicate settings template; header.html owns the static placeholder, header_logo.html stays settings markup as on main.

Related

Changes

  • deleted render.py, constants.py, header_tags, and header_logo_via_settings.html
  • updated header.html: {% static_placeholder "header-logo" or %}header_logo.html
  • updated CMS_PLACEHOLDER_CONF for header-logo (keeps footer-content with chore(cms): label footer-content in Structure sidebar #1188)
  • updated docs/gh-999-editable-header-plan.md (minimal deltas)

Testing

Same as #1083 steps 1–4 after this branch is merged into feat/GH-999-let-cms-admin-edit-header.

UI

No new UI; structure only.

Use header_logo.html for nav and markup URL; drop ContentRenderer helper,
placeholder constant export, and footer sidebar naming (see #1188).
Restore id="header-logo" on settings fallback.
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

Keep author text where still accurate; only add status row for shared
header_logo.html after refactor.

@wesleyboar wesleyboar left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checking AI's work.

Comment thread taccsite_cms/settings/settings.py
@wesleyboar wesleyboar merged commit d8d6114 into feat/GH-999-let-cms-admin-edit-header Jun 19, 2026
@wesleyboar wesleyboar deleted the refactor/GH-999-simplify-header-logo branch June 19, 2026 00:12
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