Testing done - how did you test it/steps on how can another person can test it
Update a user to granted_public_bio: true
Sign in as that user, go to the /edit_profile page and fill out the public bio fields
Go to /bios/{user.id}-{user.alt_first_name}-{user.alt_last_name} (really anything after the id works as it is removed from the params in the controller action, this will allow links to show the fellows' names without needing to account for duplicate names or lack of presence of alt names)
Verify the user's public bio information and avatar render on the page renders as expected (placeholder image if no avatar), compare with the mockup
Note: the name at the top of the page will utilize the alt names if available but default to the normal name values if not
Screenshots, Gifs, Videos from application (if applicable)
Link to mock-ups/mock ups (image file if you have it) (if applicable)
Acceptance criteria
[ ]
Definition of done
[x] Unit tests written (if applicable)
[x] e2e/accessibility tests written (if applicable)
[ ] Events are logged appropriately
[ ] Documentation has been updated, if applicable
[x] A link has been provided to the originating JIRA issue
[x] No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs
JIRA issue link
https://agile6.atlassian.net/browse/DM-5092
Description - what does this code do?
Adds endpoint and page for public user bio
Testing done - how did you test it/steps on how can another person can test it
granted_public_bio: true
/edit_profile
page and fill out the public bio fields/bios/{user.id}-{user.alt_first_name}-{user.alt_last_name}
(really anything after the id works as it is removed from the params in the controller action, this will allow links to show the fellows' names without needing to account for duplicate names or lack of presence of alt names)Screenshots, Gifs, Videos from application (if applicable)
Link to mock-ups/mock ups (image file if you have it) (if applicable)
Acceptance criteria
Definition of done