Skip to content

refactor(StateTaxes): flatten form into a single evenly-spaced stack#2245

Draft
aaronlee777 wants to merge 1 commit into
mainfrom
al/refactor/state-tax-form-layout
Draft

refactor(StateTaxes): flatten form into a single evenly-spaced stack#2245
aaronlee777 wants to merge 1 commit into
mainfrom
al/refactor/state-tax-form-layout

Conversation

@aaronlee777

Copy link
Copy Markdown
Contributor

Summary

  • Drop per-requirement-set heading and effective-date subtext from the form
  • Render every input as a sibling of one outer Flex with gap={20} so spacing is uniform across the form
  • Use flatMap to concatenate requirements across sets while preserving the set-prefixed RHF field key

Test plan

  • Open a state taxes form for a state with a single requirement set; verify inputs are stacked with even 20px gaps
  • Open a state taxes form for a state with multiple requirement sets; verify inputs from different sets sit as siblings with the same spacing
  • Submit the form; confirm the request body still groups requirements by set key

🤖 Generated with Claude Code

… stack

Drops the per-requirement-set heading and effective-date subtext, and renders
every input as a sibling of one outer Flex with gap={20}. flatMap concatenates
requirements across sets so spacing is uniform across the form.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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