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

Feat/add ins hhdb #700

Merged
merged 45 commits into from
Nov 3, 2023
Merged

Feat/add ins hhdb #700

merged 45 commits into from
Nov 3, 2023

Conversation

ivonne-hernandez
Copy link
Collaborator

@ivonne-hernandez ivonne-hernandez commented Nov 1, 2023

ClickUp Ticket: https://app.clickup.com/t/8685hmcqc

What (if any) features are you implementing?

  • I created a HealthInsuranceQ component.
  • I added the HealthInsuranceQ component to the HouseholdDataBlock.

What (if anything) did you refactor?

  • I deleted the healthInsurance question from the stepDirectory flow, as well as initialFormData state.
  • I refactored the validationFunctions
  • I refactored the Confirmation component.
  • I refactored the healthInsuranceOptions to edit current text and add the none, dont_know, family_planning, and emergency_medicaid` options.

Were there any issues that arose?

  • Upon submitting the form, my backend was returning a 500 Internal Server Error so I went in and fixed the following errors on this related BE PR:
Screenshot 2023-11-01 at 2 00 55 PM Screenshot 2023-11-01 at 3 15 55 PM

Is there anything that you need from your teammate?

  • Please pull down the branch and try out the error handling when selecting the None or Don't Know option. Also make sure that it is posting correctly on your local backend.

Desktop view:
Screenshot 2023-11-01 at 2 30 44 PM

Mobile View at 420px and 50% zoom:
Screenshot 2023-11-01 at 2 27 54 PM

Updated Confirmation page:
EN Inline Confirmation

@ivonne-hernandez ivonne-hernandez added the impact-high Significant possible impact on data, security or user experience. Req lead dev + 1 review. label Nov 1, 2023
.nvmrc Outdated Show resolved Hide resolved
Comment on lines +61 to +63
dont_know: boolean;
emergency_medicaid: boolean;
family_planning: boolean;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we want to make these camel case, and then map it when we send/receive it from the API.

src/Assets/validationFunctions.tsx Show resolved Hide resolved
src/Components/HealthInsuranceQ/HealthInsuranceQ.tsx Outdated Show resolved Hide resolved
src/Components/HealthInsuranceQ/HealthInsuranceQ.tsx Outdated Show resolved Hide resolved
src/Components/HouseholdDataBlock/HouseholdDataBlock.js Outdated Show resolved Hide resolved
@CalebPena CalebPena merged commit ce11d93 into main Nov 3, 2023
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact-high Significant possible impact on data, security or user experience. Req lead dev + 1 review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants