classroom icon indicating copy to clipboard operation
classroom copied to clipboard

[Bug]: Home Button Navigation

Open NewtonLC opened this issue 1 year ago • 0 comments

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

NewtonLC avatar Nov 11 '25 01:11 NewtonLC