Skip to content

Styles for the cookie debugger, replacing the old tool's cookie table - #37

Merged
paul999 merged 1 commit into
masterfrom
issue-27/cookie-debugger-styles
Sep 18, 2026
Merged

paul999 merged 1 commit into
masterfrom
issue-27/cookie-debugger-styles

Conversation

@paul999

@paul999 paul999 commented Sep 18, 2026

Copy link
Copy Markdown
Member

Styles for the support team's cookie debugger, which phpbb/phpbb-website-private#227 rebuilds at /support/cookies/ (paul999/phpbb-website-private#27). Until now its styles sat inline in the page, and review asked for them to live here.

What's in it

  • .cookie-debugger rules in website.css:
    • .verdict-good, .verdict-bad and .verdict-neutral colour each cookie setting by whether it works for the board.
    • dl.cookie-summary lays out domain, path and secure flag with the reason for each.
    • td.long, td.marker and td.nowrap stop long cookie values and markers from widening the tables.
    • details summary gets back the disclosure triangle that prosilver's reset hides.
  • Old cookie table removed: the old tool's table.cookie, th.cookie and td.cookie rules go. phpbb/website#230 removes the only page that used them.
  • index.css now imports website.css?5, so browsers fetch the new rules.

After merging

Run composer update phpbb/website-assets in both phpbb/phpbb-website-private#227 and phpbb/website#230, and deploy them together. .htdev serves /assets/ from the old site's copy first, so updating only the Symfony side would leave the page unstyled. #227 also bumps assets_version in base.html.twig, so cached copies of index.css get refreshed.

🤖 Generated with Claude Code

For phpbb/phpbb-website-private#227 (paul999/phpbb-website-private#27),
which rebuilds the support team's cookie debugger at /support/cookies/
and kept its styles inline until now:

- .verdict-good, .verdict-bad and .verdict-neutral colour a cookie
  setting by whether it works for the board.
- dl.cookie-summary lays out domain, path and secure flag with their
  reasons.
- td.long, td.marker and td.nowrap keep long cookie values and markers
  from widening the tables.
- details summary gets its disclosure triangle back, which prosilver's
  reset hides.

The old tool's table.cookie, th.cookie and td.cookie go: phpbb/website#230
removes the only page that used them. website.css?5 in index.css makes
browsers fetch the new rules.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings September 18, 2026 15:56
@paul999
paul999 merged commit cfa66b3 into master Sep 18, 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.

🟢 Approval recommended

The changes are narrowly-scoped CSS updates with consistent cache-busting and no remaining in-repo references to the removed legacy selectors.

Pull request overview

Moves styling for the support-team cookie debugger (/support/cookies/) into the shared website asset stylesheet and removes legacy styling for the old cookie table, keeping asset cache-busting consistent.

Changes:

  • Replaces legacy table.cookie/th.cookie/td.cookie styling with new .cookie-debugger-scoped rules in css/website.css.
  • Adds cookie-debugger-specific layout/formatting rules (verdict colors, summary dl, long table cell wrapping, details summary marker restoration).
  • Bumps the cache-busting token for website.css in css/index.css from ?4 to ?5.
File summaries
File Description
css/website.css Removes old cookie-table rules and adds .cookie-debugger-scoped styles for the rebuilt support cookie debugger UI.
css/index.css Updates the website.css import query token to ensure browsers fetch the updated stylesheet.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Lite

💡 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-27/cookie-debugger-styles branch September 18, 2026 16: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.

2 participants