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

refactor(dashboard/user): profile view #320

Merged
merged 15 commits into from
Sep 4, 2024
Merged

Conversation

CodeNamedRobin
Copy link
Contributor

Description

Refactors the entire profile view. Makes the profile view a lot neater, where no more cards are used for simple settings, instead all settings are in one user settings card.

Related issues/external references

Many of #273

Types of changes

  • New feature (non-breaking change which adds functionality)
  • Style (Change that do not affect the functionality of the code)

@CodeNamedRobin CodeNamedRobin marked this pull request as ready for review August 30, 2024 19:35
Copy link
Member

@SuperVK SuperVK left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be nice if the buttons for pop up change to a cursor mouse on hover, and I think you might as well change the password changing to be the same as the pin change? Not sure tbh, but this feels weird while they kinda do the same

And do we want to implement Roy's suggestion while we are at it: #268

apps/dashboard/src/modules/user/views/UserProfileView.vue Outdated Show resolved Hide resolved
@SuperVK
Copy link
Member

SuperVK commented Sep 4, 2024

Also I can't comment on the code, but the profile view somehow fetches all users and uses that to get your GEWIS id. But this endpoint will soon become privileged so it might be nice to do this differently (besides it already being very cursed that we fetch all users to just use one)

@CodeNamedRobin
Copy link
Contributor Author

Also I can't comment on the code, but the profile view somehow fetches all users and uses that to get your GEWIS id. But this endpoint will soon become privileged so it might be nice to do this differently (besides it already being very cursed that we fetch all users to just use one)

A new get individual gewis user fetch function has been implemented in the user store now.

@CodeNamedRobin CodeNamedRobin enabled auto-merge (squash) September 4, 2024 17:59
@CodeNamedRobin CodeNamedRobin merged commit 282695f into develop Sep 4, 2024
3 checks passed
@CodeNamedRobin CodeNamedRobin deleted the refactor/profile-view branch September 4, 2024 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants