Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hoist the form header out of the form component #14

Merged
merged 1 commit into from
Aug 15, 2023
Merged

Conversation

oyamauchi
Copy link
Member

The header text isn't part of the calculator form, semantically. It
will also need to be customizable for state-specific calcs.

Test Plan

Looks exactly the same as before in a browser. Cypress tests pass.

The header text isn't part of the calculator form, semantically. It
will also need to be customizable for state-specific calcs.

## Test Plan

Looks exactly the same as before in a browser. Cypress tests pass.
@vercel
Copy link

vercel bot commented Aug 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
embed-rewiringamerica-org ✅ Ready (Inspect) Visit Preview Aug 15, 2023 3:21pm

Copy link
Member

@RandomEtc RandomEtc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, makes a lot of sense!

This was a quick review with ignore whitespace.

Related, if you want to think about allowing callers to customize this header text, I made a ticket for that here - https://app.asana.com/0/1204738794846444/1205273704262120/f - I think web component "slots" do the trick, but I haven't thought hard about what that looks like in a stable/supported API.

@oyamauchi oyamauchi merged commit e3502f7 into main Aug 15, 2023
2 checks passed
@oyamauchi oyamauchi deleted the owen/form-header branch August 15, 2023 20:58
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.

2 participants