Skip to content

Add the Tools menu to the header (ui-kit 0.13) - #42

Merged
DTrim99 merged 1 commit into
mainfrom
ui-kit-tools-menu
Nov 24, 2026
Merged

DTrim99 merged 1 commit into
mainfrom
ui-kit-tools-menu

Conversation

@DTrim99

@DTrim99 DTrim99 commented Nov 24, 2026

Copy link
Copy Markdown
Contributor

What

Adds policyengine.org's Tools menu to the ACA calculator's header by updating @policyengine/ui-kit from ^0.12.0 to ^0.13.0.

The header comes from ui-kit's PolicyEngineShell (app/layout.jsx). ui-kit 0.13.0 (PolicyEngine/policyengine-ui-kit#39) adds Tools after Research. The menu lists the PolicyEngine app, then CliffWatch, Coverage Compass, GiveCalc, the marriage calculator, the QBI deduction calculator, the SPM threshold calculator and the TANF calculator. Every row is a full page load. On a 0.x version, ^0.12.0 stops below 0.13, so the range has to change. The 0.13.0 changelog lists no breaking changes, and the page's code is unchanged.

The lockfile moves from 0.12.0 to 0.13.0. That also brings in 0.12.1's darker light-mode --text-tertiary (#64748B, which passes WCAG AA).

The ACA calculator in the menu

The menu doesn't list the ACA calculator yet. PolicyEngine/policyengine-app-v2#1599 adds it to policyengine.org's list. ui-kit's copy of that list then needs aca-calc and a release, and this app needs a bump to that release.

Checks

  • bun run build passes, including check_data.
  • In Chrome on the production build:
    • Desktop, 1440×900: the header reads Research, Tools, Model, API, Python, About, Donate. Tools opens over the Overview with the eight rows above, each linking to https://app.policyengine.org/us or https://policyengine.org/us/<tool>.
    • Phone, 390px: the menu sheet lists the same Tools rows. The page doesn't scroll sideways.
    • The ACA calculator's own Overview, Calculator and Methodology tabs are unchanged, and the console shows no errors.

🤖 Generated with Claude Code

The page's header comes from @policyengine/ui-kit's PolicyEngineShell.
ui-kit 0.13.0 adds a Tools menu after Research, listing the PolicyEngine
app and each calculator; ^0.12.0 can't reach 0.13 on a 0.x version, so the
range moves to ^0.13.0.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
aca-calc Ready Ready Preview Nov 24, 2026 3:32pm UTC

Request Review

@DTrim99
DTrim99 merged commit e600765 into main Nov 24, 2026
2 checks passed

This branch was successfully deployed

1 active deployment
Preview — c174f41b Deployed Nov 24, 2026 by vercel[bot]
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