Skip to content

[Bug]: Home Button Navigation #558

@NewtonLC

Description

@NewtonLC

Describe the bug

The Home Button at the top of the page currently takes the user to different pages depending on their role:
Admin - Admin page
Teacher - Teacher page
Other role / Not logged in - Error page

This could lead to confusion, especially if users who are not logged in click on that button.

To Reproduce

  1. Make sure you can successfully log in via Github (use the Github sign-in option, not Auth0)
  2. Run "npx prisma studio" in the terminal, navigate to the "Users" table, change the role of your user.
  3. Make sure you click "Save changes" in prisma studio
  4. Sign out of the Classroom app and then sign back in
  5. Click the Home Button

Expected behavior

I think this button should take you back to the home page, replacing the current functionality of the "Menu" button.

Screenshots

Image

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions