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

Implement Profile Drop Down #112

Closed
cyrusdiego opened this issue Jun 20, 2021 · 2 comments · Fixed by #159
Closed

Implement Profile Drop Down #112

cyrusdiego opened this issue Jun 20, 2021 · 2 comments · Fixed by #159
Assignees
Labels
good first issue Good for newcomers UI www Involves work on www

Comments

@cyrusdiego
Copy link
Member

  • Logout button
  • button to show settings
    image
@cyrusdiego cyrusdiego added good first issue Good for newcomers www Involves work on www UI labels Jun 20, 2021
@armiantos
Copy link
Collaborator

armiantos commented Jun 25, 2021

Reference to similar implementation

Component to use

Tips

  • Use useState for the open field in <Menu open={open} ...>
  • Handlers like onClick are usually single argument functions (e.g. onClick={(event) => console.debug(e)}
  • Ref can be treated like a pointer to a component

@armiantos
Copy link
Collaborator

Deliverables

  1. UserProfile component under src/components/auth
  2. UserProfile should be displayed when the user is logged in
  3. Clicking on UserProfile should bring up a menu
  4. Menu should present a logout entry
  5. Clicking on logout should logout the user and redisplay the Login button

@cyrusdiego cyrusdiego linked a pull request Jul 15, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers UI www Involves work on www
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants