department-of-veterans-affairs / diffusion-marketplace

Diffusion Marketplace source code
https://marketplace.va.gov
7 stars 10 forks source link

dm-5091 fellow profile edit fields #1094

Closed PhilipDeFraties closed 3 weeks ago

PhilipDeFraties commented 1 month ago

JIRA issue link

https://agile6.atlassian.net/browse/DM-5091

Description - what does this code do?

adds public-bio specific fields to user profile edit page, fields are only accessible to users with granted_public_profile: true

Testing done - how did you test it/steps on how can another person can test it

  1. Update a user with granted_public_profile: true either via console or through active admin
  2. sign in as that user and go to http://localhost:3200/edit-profile
  3. fill out the new fields and verify the data persists upon form submission.
  4. log in as a different user with granted_public_profile: false, go to the profile edit page and verify the public-bio fields do not appear

Screenshots, Gifs, Videos from application (if applicable)

Screenshot 2024-11-04 at 3 13 18 PM

Link to mock-ups/mock ups (image file if you have it) (if applicable)

Acceptance criteria

Definition of done