-
Notifications
You must be signed in to change notification settings - Fork 25
[ENG-10047] Display Affiliated Institution(s) on User Profile Page #859
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
base: feature/pbs-25-24
Are you sure you want to change the base?
[ENG-10047] Display Affiliated Institution(s) on User Profile Page #859
Conversation
…how user related institutions
|
|
||
| export interface InstitutionsStateModel { | ||
| userInstitutions: AsyncStateModel<Institution[]>; | ||
| userInstitutionsById: Record<string, AsyncStateModel<Institution[]>>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove it.
| isLoading: false, | ||
| error: null, | ||
| }, | ||
| userInstitutionsById: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove it.
| @Selector([InstitutionsState]) | ||
| static getUserProfileInstitutions(state: InstitutionsStateModel) { | ||
| return state.userInstitutionsById; | ||
| } | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove it.
Purpose
User profile pages do not currently display a user’s affiliated institution(s), even when the user has active institutional affiliations set in OSF. This makes it difficult for others to understand a user’s institutional context and reduces the visibility of institutional participation on the platform.
Summary of Changes
Implement affiliated Institution(s) on User Profile Page showing
Screenshot(s)
Side Effects
QA Notes