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

User settings #91

Merged
merged 4 commits into from
Feb 12, 2024
Merged

User settings #91

merged 4 commits into from
Feb 12, 2024

Conversation

OwenAThomasson
Copy link
Collaborator

@OwenAThomasson OwenAThomasson commented Jan 29, 2024

My progress for this week included:

  1. Adding routing to the settings page from the user nav bar
  2. Creating components for student, teacher, and admin settings to allow future variation between different account types and their settings
  3. Adding a page to the pages directory that loads the correct component based on user type
  4. Adding a send password reset button that will send a link to the user's email on file with a link to reset password, and will disable for 10 seconds before being able to be pressed again
  5. Adding light and dark mode functionality that updates the global variables and will be reflected everywhere including the theme settings side widget

Review my changes by:

  1. Cloning issue_88 branch
  2. Running npm run dev
  3. Clicking the "Settings" option from the dropdown navbar

Settings Page Before:
image

Settings Page Now:
image

…count-popover to route to settings. also updated a let to a var in the index file
…uses auth guard instead of guest guard to allow logged in users to change password
@OwenAThomasson OwenAThomasson marked this pull request as ready for review February 12, 2024 14:08
@LikhitaPulijala
Copy link
Collaborator

@OwenAThomasson Try to eliminate the bottom-right icon that was previously utilized for changing themes. Since we've now integrated it into the settings page, the icon at the bottom is no longer necessary.

@LikhitaPulijala LikhitaPulijala merged commit 9ee9384 into main Feb 12, 2024
2 checks passed
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 this pull request may close these issues.

2 participants