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

[Page] [FE+BE] Individual Members Page + Members Data Config #43

Open
jessieh9 opened this issue Sep 3, 2024 · 1 comment · May be fixed by #61
Open

[Page] [FE+BE] Individual Members Page + Members Data Config #43

jessieh9 opened this issue Sep 3, 2024 · 1 comment · May be fixed by #61
Assignees

Comments

@jessieh9
Copy link
Collaborator

jessieh9 commented Sep 3, 2024

Our current Members page looks like this
Image

  1. We want code to be reusable and limit the repetition. Edit such that membersGrid can be used for both Project Members and Organization Members (Hint: Think about component props)
  2. Use the database to get members from the tables (no more hardcoded data)
  3. Link the individual pages
    - Check if the user is admin using the database table column "user_type"
    - If the user is admin, clicking on individual pages will show this for each member (PersonalSummary.jsx)
    Image
    - If the user is not admin, if they click on their own page, show this summary
    Image
    - If they click on other members page, create this new page to show it. All data for the member is available in the
    database. Make the requests to database necessary.
    Image

Figma Link: https://www.figma.com/team_invite/redeem/m7USct7pyXUSdm1R6BbS9B

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 a pull request may close this issue.

3 participants
@jessieh9 @junxioh and others