---
# System prepended metadata

title: CASEFLOW 3383 - Add Homelessness Radio Option to Intake Review Screen

---

# CASEFLOW 3383 - Add Homelessness Radio Option to Intake Review Screen

Create Homelessness radio button option on Intake Review screen, ticket link: https://vajira.max.gov/browse/CASEFLOW-3383


# Redux helpful filepaths
Actions filepath: https://github.com/department-of-veterans-affairs/caseflow/blob/master/client/app/intake/actions/appeal.js

Reducer filepath: https://github.com/department-of-veterans-affairs/caseflow/blob/master/client/app/intake/reducers/appeal.js

Constants filepath: https://github.com/department-of-veterans-affairs/caseflow/blob/master/client/app/intake/constants.js

- How the backend is recieving our state: https://github.com/department-of-veterans-affairs/caseflow/blob/46ee9fe6430d746d7c72befdd17e27f5c58c2e54/client/app/intake/actions/decisionReview.js#L29

### Frontend helpful filepaths:
- form generator: https://github.com/department-of-veterans-affairs/caseflow/blob/master/client/app/intake/pages/formGenerator.jsx
- RadioField component: https://github.com/department-of-veterans-affairs/caseflow/blob/master/client/app/components/RadioField.jsx
- https://github.com/department-of-veterans-affairs/caseflow/blob/master/client/app/intake/pages/appeal/review.jsx , in here, need to create the yup.string() for Homelessness

# Rails backend helpful filepaths:
### Intake schema controller, review action:
- https://github.com/department-of-veterans-affairs/caseflow/blob/46ee9fe6430d746d7c72befdd17e27f5c58c2e54/app/schemas/intakes_schemas.rb#L15
### Appeals Intake model, param keys:
- https://github.com/department-of-veterans-affairs/caseflow/blob/46ee9fe6430d746d7c72befdd17e27f5c58c2e54/app/models/appeal_intake.rb#L46
### Appeals Intake Serializer **(Don't need to do)**:
- https://github.com/department-of-veterans-affairs/caseflow/blob/master/app/serializers/intake/appeal_intake_serializer.rb
### (Might) need to update the validation on the Appeal model
- https://github.com/department-of-veterans-affairs/caseflow/blob/cd775ac754df14f562478a9b0b6a30808f32bdc1/app/models/appeal.rb#L78


# Misc.


Investigation doc: https://hackmd.io/@ajspotts/rywatLaJc

Jonathan's change to the Appeal schema: https://github.com/department-of-veterans-affairs/caseflow/blob/a2e8915eb94e917e57e84e4fa440291fe77040e6/db/schema.rb#L114

Appeal reducer: https://github.com/department-of-veterans-affairs/caseflow/blob/46ee9fe6430d746d7c72befdd17e27f5c58c2e54/client/app/intake/index.js#L37


Redux documentation: https://redux.js.org/tutorials/fundamentals/part-1-overview

Git guidance:
- https://gist.github.com/vlandham/3b2b79c40bc7353ae95a
- https://www.atlassian.com/git/tutorials/comparing-workflows/feature-branch-workflow
- https://github.com/git-guides/git-add

how to pull down from new code from master and merge into new local

git stash

switch to master - git pull

switch back to local branch - git merge master

git pop

