Skip to content

Revert PolicyEngine shell replacement of custom header (#4)#5

Open
MaxGhenis wants to merge 1 commit into
mainfrom
fix/revert-shell-injection
Open

Revert PolicyEngine shell replacement of custom header (#4)#5
MaxGhenis wants to merge 1 commit into
mainfrom
fix/revert-shell-injection

Conversation

@MaxGhenis
Copy link
Copy Markdown
Contributor

Summary

Revert codex's #4 — it replaced the dashboard's custom teal header ("PolicyEngine · Ads transparency dashboard · Last updated …") with the portfolio-wide ui-kit shell + a thin status sub-bar. The original was a single 50px teal bar; the replacement added a full Research/Model/API/About/Donate nav above a slim restated-title strip.

What this restores

  • src/components/Header.jsx: back to the original Mantine Container + Group layout with teal background, PolicyEngine | Ads transparency dashboard | Last updated: badge.
  • src/app/globals.css: drop the ads-dashboard-shellbar styles added for the codex shellbar.
  • src/components/Header.test.jsx: restore the original assertion.

Verification

  • bun install — clean
  • bun run build — clean
  • Local next start on /us/ads-dashboard: single teal header with PolicyEngine | Ads transparency dashboard and the LAST UPDATED badge on the right, exactly as pre-codex.
  • Screenshot at ~/code-workspace/screenshots/ads-noheader-local.png.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-ads-dashboard Ready Ready Preview, Comment May 12, 2026 2:20pm

Request Review

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