Repository navigation
Add the ACA calculator to the Tools menu - #1599
Merged
Merged
Conversation
The ACA calculator at /us/aca-calc now shows what any household would pay for its benchmark marketplace plan in 2026 and 2027 under current law, so it meets the Tools menu's rule. Its apps.json entry gets a toolsMenu label, which adds it to the website header's Tools menu, the calculator's header and the homepage's tools section. Both of its entries get a description of the 2027 calculator and a sentence-case title. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
DTrim99
added a commit
to PolicyEngine/policyengine-ui-kit
that referenced
this pull request
Nov 24, 2026
policyengine.org lists the ACA calculator (/us/aca-calc) as a tool (PolicyEngine/policyengine-app-v2#1599). ui-kit's copy of the list gets the same entry, first in the US menu after the PolicyEngine app, so zone headers match the website's. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds the ACA calculator (policyengine.org/us/aca-calc) to the US Tools menu.
aca-calcentry inapp/src/data/apps/apps.jsongets"toolsMenu": { "label": "ACA calculator" }. That one field adds it to the website header's Tools menu, the calculator's header (app/src/utils/toolsMenu.ts) and the homepage's tools section. Sorted by label, it comes first after the PolicyEngine app.aca-calcandaca-reforms-calculator) described reforms the calculator no longer models: the IRA extension, the 700% FPL bill and CRFB's proposals. They now say what it does since Update the calculator for 2027: compare 2026 and 2027 current law with H.R. 1834 in the API, calculator and Overview ACA-Calc#37: "See what a household would pay for its benchmark marketplace plan in 2026 and 2027 under current law, and in 2027 under H.R. 1834, which would revive the enhanced premium tax credits." The homepage card shows this text. The title "ACA Reforms Calculator" becomes "ACA calculator", in sentence case.HomeToolsPreviewgives the card a stethoscope icon. Without one, it would fall back to the generic apps icon.website/src/__tests__/lib/toolsMenu.test.tsandapp/src/tests/unit/components/shared/HomeHeader.test.tsx) now list "ACA calculator".Why it fits the rule
The menu lists calculators that work for any household under current law. The ACA calculator takes any household's ages, state and county, then shows its benchmark premium, premium tax credit and premium after the credit in 2026 and 2027 under current law. A checkbox adds 2027 under H.R. 1834; current law is the default.
Follow-ups outside this repo
src/layout/PolicyEngineTools.ts), and zone apps' headers use that copy. ItstoolsMenuParitycheck compares the copy with this file'smain, so it will fail after this merges until ui-kit addsaca-calcand publishes a release.@policyengine/ui-kitat^0.12.0, which has no Tools menu. A separate ACA-Calc PR bumps it to^0.13.0.Layout note
The US homepage tools section goes from 8 cards to 9. At the
lgbreakpoint it has 4 columns, so the ninth card sits alone on a third row.Checks
On Node 26:
make format(no changes),make lint,make typecheckandmake testall pass. That's 567 app test files with 7,603 tests, plus 69 website files with 799 tests and the packages' tests.🤖 Generated with Claude Code