navapbc / wic-participant-recertification-portal

https://navapbc.github.io/wic-participant-recertification-portal/
Apache License 2.0
0 stars 1 forks source link

[PRP-184] Display uploaded documents in staff portal #64

Closed rocketnova closed 1 year ago

rocketnova commented 1 year ago

Ticket

https://wicmtdp.atlassian.net/browse/PRP-184

Changes

What was added, updated, or removed in this PR.

Context for reviewers

Testing instructions, background context, more in-depth details of the implementation, and anything else you'd like to call out or ask reviewers. Explain how the changes were verified.

This PR directly builds on #63. It updates the participant database seeding and renders the uploaded documents in the staff portal.

Testing

Screenshots, GIF demos, code examples or output to help show the changes working as expected. ProTip: you can drag and drop or paste images into this textbox.

  1. cd staff
  2. docker compose up -d --build
  3. go to localhost:3033 to see the files
  4. `docker compose exec postgres psql -U postgres -c "select * from documents;" to validate that the links you see in the staff portal match the ones seeded into the database
github-actions[bot] commented 1 year ago

Chromatic_Build : Link to latest build in Chromatic 🌈 Link to storybook build in Chromatic