Repository navigation
Add the ACA calculator to the Tools menu - #42
Merged
Merged
Conversation
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>
|
@DTrim99 is attempting to deploy a commit to the PolicyEngine Team on Vercel. A member of the Team first needs to authorize it. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Collaborator
Author
|
@MaxGhenis or @PavelMakarchuk review and merge |
DTrim99
added a commit
to PolicyEngine/ACA-Calc
that referenced
this pull request
Nov 24, 2026
ui-kit 0.14.0 (PolicyEngine/policyengine-ui-kit#42) adds the ACA calculator to its copy of policyengine.org's Tools list. ^0.13.0 can't reach 0.14 on a 0.x version, so the range moves to ^0.14.0. Co-authored-by: David Trimmer <178813244+DTrim99@users.noreply.github.com> 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.
Merge after PolicyEngine/policyengine-app-v2#1599. Until then, the Tools menu parity check fails on this PR, because app-v2's
maindoesn't list the ACA calculator yet. Once #1599 merges, re-run it and it should pass.What
Adds the ACA calculator (
/us/aca-calc) to ui-kit's copy of the US Tools list, to match policyengine.org's list after PolicyEngine/policyengine-app-v2#1599.src/layout/PolicyEngineTools.ts: adds{ slug: 'aca-calc', label: 'ACA calculator' }. Sorted by label withlocaleCompare(…, 'en'), it comes first, so the US menu reads PolicyEngine app, ACA calculator, CliffWatch, Coverage Compass, GiveCalc, Marriage calculator, QBI deduction calculator, SPM threshold calculator, TANF calculator.tests/layout/PolicyEngineSiteConfig.test.tsandtests/layout/PolicyEngineToolsNav.test.tsx: add the row to the pinned US lists. The custom base URL test checked that the first tool after the main app links to CliffWatch; it now expects the ACA calculator.changelog.d/aca-calc-tools-menu.added.md: an Added entry for the next release.Why
The ACA calculator works for any household under current law: it shows 2026 and 2027 benchmark premiums, premium tax credits and premiums after the credit, with H.R. 1834 as an optional comparison. That fits the menu's rule. Zone apps, including the ACA calculator itself (PolicyEngine/ACA-Calc#42 moves it to ui-kit 0.13), list tools from this copy, so they need this change and a release to show the ACA calculator in their headers.
Checks
bun run test: 29 files, 344 tests pass (2 skipped).bun run build, thenbun run typecheck, pass.bun run test:networkfails only on the parity check, which showsaca-calchere and not yet in app-v2'smain.🤖 Generated with Claude Code