vevcom / projectNext

Project Next is Omegas new website coming soon
MIT License
6 stars 1 forks source link

Feat/profile page #282

Closed AndreasVJ closed 16 hours ago

AndreasVJ commented 1 month ago

Improved graphics for the profile page. User settings page still needs improvements

JohanHjelsethStorstad commented 1 month ago

So I fixed the listing and did some refactoring. I also changed some of the logic to do with authing. The part in users/[username]/page where the study programmes and so on are fetched will be refactored in feat/visibility. On that branch I have logic to infer names of groups and so on. My plan is to work on the setting screen from there. As I need it to debug visibility

theodorklauritzen commented 1 month ago

@AndreasVJ Wow, the profile page looks amazing!😍

JohanHjelsethStorstad commented 1 month ago

I removed userRequired on both users/[username] and users/[username]/settings because seeing users (USER_READ) might be a default_permission, but I realised thet the redirect to login now is buggy. Add

userRequired: params.username === 'me'

to solve it I think is the correct approach here.