ForumAI combines AI capabilities with structured academic forums, enabling students and faculty to collaborate in a controlled environment where AI assists learning while maintaining academic integrity.
Merging to midfi because I think Armin mentioned we should do that? Can change to dev though
Main Changes
Added (edit) profile page
Made email and password read only, dont think we should be able to change email? and not sure if password can be retrieved/displayed
This resulted in adding many many shadcn components
Added userContext
This allows user info to be stored instead of having to repeatedly call supabase endpoints.
In order to only use userContext after being authorized, separated paths into auth/ and protected/, so that userContext in protected routes can always have a value, and if the user is unauthorized can easily redirect to the sign in page without needing to check pathname. lmk if this is a bad approach/if there is a different best practice
Merging to midfi because I think Armin mentioned we should do that? Can change to dev though
Main Changes