Skip to content

Drop the old team page stylesheet and refresh the navigation import - #32

Merged
paul999 merged 1 commit into
masterfrom
issue-14-17/team-page-assets-cleanup
Sep 17, 2026
Merged

paul999 merged 1 commit into
masterfrom
issue-14-17/team-page-assets-cleanup

Conversation

@paul999

@paul999 paul999 commented Sep 17, 2026

Copy link
Copy Markdown
Member

Clean-up that goes with the team page migration: phpbb/phpbb-website-private#214 and phpbb/website#229 (issues paul999/phpbb-website-private#14–#17).

What's in it

  • css/team_page_old.css is removed. Only the old site's team page loaded it, from the S_IN_TEAMSPAGE block in overall_header.html, which phpbb/website#229 removes. The new team page doesn't use it.
  • The body.team_new selectors in documentation.css are removed. They were leftovers of the same page, and the body.support_docs rules they shared a line with stay unchanged.
  • navigation.css?2 is bumped to ?3 in index.css. The Team menu highlight from Highlight the Team menu item on team pages #31 was added without changing that query string. phpbb.com serves assets with max-age=14400 behind Cloudflare, so browsers and the CDN can keep the old copy for hours.

Deploying

  • Merge after phpbb/website#229 is deployed, or together with it. Before that, the old team page still links team_page_old.css.
  • Then run composer update phpbb/website-assets in phpbb-website-private. The cache-buster only helps once index.css itself is fetched again, so that same change should also bump assets_version on the index.css link in templates/base.html.twig.

Tested

  • git grep finds no other reference to team_page_old or team_new in this repo, phpbb/website with #229 applied, or phpbb-website-private.

🤖 Generated with Claude Code

team_page_old.css only served the old site's team page, which
phpbb/website#229 removes; the team_new selectors in documentation.css
belonged to it too. Bump the navigation.css query string so browsers and
the CDN fetch the Team menu highlight added in #31.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 17, 2026 15:06
@paul999
paul999 merged commit 7176dc7 into master Sep 17, 2026
1 check passed

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Pull request overview

Removes legacy team-page styling and refreshes the navigation stylesheet cache-buster to align with the team page migration.

Changes:

  • Deleted the obsolete css/team_page_old.css stylesheet.
  • Removed leftover body.team_new selectors from css/documentation.css.
  • Bumped the navigation.css import query string in css/index.css to invalidate cached copies.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
css/team_page_old.css Removes the deprecated stylesheet used only by the old team page.
css/index.css Increments the navigation.css cache-busting query string.
css/documentation.css Drops unused body.team_new selector variants while keeping body.support_docs styling.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@paul999
paul999 deleted the issue-14-17/team-page-assets-cleanup branch September 18, 2026 14:10
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.

2 participants