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

feat(egh): add instructor profile edit page #327

Merged
merged 27 commits into from
Nov 25, 2024

Conversation

zacjones93
Copy link
Contributor

@zacjones93 zacjones93 commented Nov 19, 2024

This adds a user profile under /profiles/:id. The idea here will be that depending on the roles you have, different sections will show up.

If you are an admin you will see the slack id and channel id in the admin section and if you are a contributor you'll see the instructor profile section as well as your affiliate code.

There is no learner profile as of yet but this gives us room to build that in when we would like to.

Under the hood we have user properties stored in two tables:

  • user
  • profile

All private user information is stored on the user table. Public information is displayed on the profile table. Right now there is only the concept of a instructor typed profile but this is set up to handle a user having both an instructor profile as well as a learner profile (or whatever we want to call it).

TODO:

  • create merge requests for databases
  • add instructor profile picture management

account
profile

Copy link

linear bot commented Nov 19, 2024

Copy link

vercel bot commented Nov 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-hero ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
astro-party ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
course-builder-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
course-builder-egghead ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
course-builder-poc ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
course-builder-video-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
epic-react-builder ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
epic-web-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
go-local-first ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
pro-aws ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
pro-nextjs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm
value-based-design ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 25, 2024 10:18pm

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.

3 participants