Skip to content

Revamp UI with Coverage Compass-style wizard flow - #4

Open
daphnehanse11 wants to merge 1 commit into
mainfrom
coverage-compass-revamp
Open

Revamp UI with Coverage Compass-style wizard flow#4
daphnehanse11 wants to merge 1 commit into
mainfrom
coverage-compass-revamp

Conversation

@daphnehanse11

Copy link
Copy Markdown
Collaborator

Summary

Reworks the Crossroads frontend to match the Coverage Compass interaction model and visual style.

Wizard flow

  • HouseholdWizard replaces the single-page household form: one question per screen (location + tax year, filing status, ages, income, employer coverage, children) with a continuous 8-step progress bar and a "So far" summary card that fills in as you answer.
  • ChangeWizard replaces the life event selector: step 1 picks the event, step 2 collects its details. Events are filtered to the household (marriage hidden for married filers, divorce for single filers, losing coverage when nobody has employer insurance).
  • Combined scenarios are now built through an "Add another change" queue in the change wizard, replacing the advanced-mode toggle; the backend accepts an ordered lifeEvents list.

Results

  • Hero card with a headline derived from the simulated net income delta, so the copy can't contradict the numbers, plus "what changed" chips and the household summary.
  • Compared scenarios grid keeps earlier runs for the same household one click away.
  • Share links preserved for single-event scenarios.

Styling

  • All emoji removed (event icons, coverage icons, favicon) in favor of text labels and an SVG mark.
  • Headings and labels moved to sentence case.
  • Benefit cliffs callout and toggles restyled from purple/amber to neutral gray and the teal brand palette.

Testing

  • npm run build passes (type check + production build).
  • pytest tests/ — 33 passed.
  • Walked the full flow in the browser: household wizard → income change → simulation against the Modal backend → results with charts, detailed breakdown, and scenario history.

🤖 Generated with Claude Code

Replace the single-page form with a step-by-step wizard modeled on
Coverage Compass:

- Add HouseholdWizard: one question per screen (location, filing status,
  ages, income, employer coverage, children) with a continuous progress
  bar and a "So far" summary card
- Add ChangeWizard: two-step event picker with contextual filtering
  (marriage hidden for married filers, divorce for single filers,
  losing coverage when nobody has ESI) and an "Add another change"
  queue that drives the multi-event simulation support
- Rework the page around a hero card whose headline is derived from the
  simulated net income delta, with "what changed" chips and a compared
  scenarios grid for revisiting earlier results
- Remove all emoji (event icons, coverage icons, favicon) in favor of
  text labels and an SVG mark
- Move headings and labels to sentence case
- Restyle the benefit cliffs callout and toggles to neutral gray/teal
- Backend: accept an ordered lifeEvents list for combined scenarios

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 27, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
crossroads Ready Ready Preview, Comment Jul 27, 2026 5:22pm

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