Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Users public bio feature #1108

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

PhilipDeFraties
Copy link
Collaborator

JIRA issue link

Description - what does this code do?

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

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

  • Unit tests written (if applicable)
  • e2e/accessibility tests written (if applicable)
  • Events are logged appropriately
  • Documentation has been updated, if applicable
  • A link has been provided to the originating JIRA issue
  • No sensitive information (i.e. PII/credentials/internal URLs/etc.) is captured in logging, hardcoded, or specs

@camillevilla camillevilla changed the title Users public bio feature [FEATURE] Users public bio feature Nov 6, 2024
PhilipDeFraties and others added 3 commits November 13, 2024 09:45
* create migration to add fellow-related columns to users table

* update schema with added fellow-related columns on users table

* add :fellowship col addition to users table update migration

* update schema with added :fellowships column on users table

* update UsersController to allow fellow-related params

* update user edit profile form

adds public-bio related fields

* add feature specs for public-bio related fields in user profile edit form

* update users col additions migrations to remove :fellowship col

* update schema to remove :fellowship col from users table

* update users profile form to remove :fellowship field

* Update app/controllers/users_controller.rb

---------

Co-authored-by: Camille Villa <[email protected]>
* add file for user profile js

contains logic for uploading user profile photos

* update .avatar-profile-photo css class

* update user profile partial

adjusts logic to enable photo upload and removal for users with granted_public_bio: true

elements dealing with photo editing commented out, leaving behind in case the functionality ever needs to be re-implemented

* update user_profile_utilities js

cleans up functions by removing unused vars

* add feature test for user profile pic management
* add :accolades col to users table

* add field for :accolades input to user profile edit form

* add test for user accolades management to user profile feature spec
* add #to_param method to User model to customize url path to include user's preferred name

* add link to user bio page from edit profile page

* update user feature specs to use fake demographic data

* add button that links bio page to profile edit page
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant