The PR adds the introduction page to the supply reorder form.
Note that there are still a few styling and content changes still coming for the page and those will be addressed as they get finalized
Also note that the rest of the form pages are still not developed, so only review the introduction page
Also, also note that this PR WILL NOT merge to main, but to our integration branch to keep working on the form. To see all changes simply start creating a new PR and compare this branch to main.
See Figma file - make sure you are in the "Ready for dev" page
Related issue(s)
Tickets are coming, but not ready yet.
You can see in this Slack canvas the current list of tasks/use cases
Testing done
Added unit tests
E2E tests will come at a later date as the testing framework for forms is different from other apps and requires learning
Manual testing
Add the following lines to your content-build/src/applications/registry.json file
{
"appName": "Order health care supplies",
"entryName": "mhv-supply-reordering",
"rootUrl": "/my-health/order-supplies",
"productId": "",
"template": {
"vagovprod": true,
"layout": "page-react.html"
}
},
Run the mocks: yarn mock-api --responses src/applications/mhv-supply-reordering/mocks/index.js
Run the UI: yarn watch --env entry=mhv-supply-reordering
Summary
The PR adds the introduction page to the supply reorder form.
See Figma file - make sure you are in the "Ready for dev" page
Related issue(s)
Tickets are coming, but not ready yet. You can see in this Slack canvas the current list of tasks/use cases
Testing done
content-build/src/applications/registry.json
fileyarn mock-api --responses src/applications/mhv-supply-reordering/mocks/index.js
yarn watch --env entry=mhv-supply-reordering
src/applications/mhv-supply-reordering/mocks/index.js
line 6Screenshots
Veteran is eligible, and has both available and unavailable supplies
Veteran is eligible, and only has available supplies
We have an unknown error like a server error
Veteran is deceased
Veteran is an invalid user
Veteran has no supplies to reorder
Veteran is not eligible to reorder