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

Feature/185 edit educators and volunteer #195

Merged
merged 22 commits into from
Apr 11, 2024

Conversation

ivaramlar
Copy link
Contributor

I have implemented the option to modify a user with role volunteer, educator, and partners. To do it, you need to click on the bottom editar, and you will be able to edit the profile.

@ivaramlar ivaramlar linked an issue Apr 8, 2024 that may be closed by this pull request
@claugp06 claugp06 added the enhancement New feature or request label Apr 8, 2024
@claugp06 claugp06 added this to the Sprint 3 milestone Apr 8, 2024
Copy link
Collaborator

@claugp06 claugp06 left a comment

Choose a reason for hiding this comment

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

Instead of a button as the green one you use, I think using an icon similar to has it is done with the delete would be better approach. Instead to be redirect to another screen when pressing the button a dialog tab could be open and it would be more efficient. A good approach would be also that the data from the user you want to change are shown by default and the warning image/icon use it not too appealing to the eyes (it is not really good seen)

@marnunrey2
Copy link
Contributor

I totally agree with Claudia. Also, you have written that the password is mandatory but I could change the info without having to write the password. And what password would it be, I guess admin's password because she is not going to have the password of the volunteer/educator/partner, maybe specify it.

@ivaramlar
Copy link
Contributor Author

I have changed the bottom, now we are going to use the edit bottom, I have hidden the password and the mail because the admin does not need them. To show the info by default, it is necessary to change the Update Profile component, it could cause changes in other screens that used it. I would prefer not to changing it because I have not implemented it and I don't know it at all. I think that is better to assign that issue to the creator.

@ivaramlar ivaramlar requested a review from claugp06 April 9, 2024 09:29
Copy link
Collaborator

@claugp06 claugp06 left a comment

Choose a reason for hiding this comment

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

It allows to edit volunteers and educators and it is a good ide tor reuase the code for updating profiel (it saves implementation time). Just two small commtents:
1.I see no toast message of success when editing it is ok (which does not worry me that much, if you have reuse the code from the component the toast message has been fix on the feedback branch)
2. I read your comments regarding the info not been showed, try asking @fracalrod3 who did it but I think the info should be shown

@ivaramlar ivaramlar requested a review from claugp06 April 9, 2024 16:56
Copy link
Contributor

@fracalrod3 fracalrod3 left a comment

Choose a reason for hiding this comment

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

Seems fine overall and I think youy did right not totally changing updateProfile's functionality since it will cause trouble in other screens, I believe it's alright and it works as intended

Copy link
Collaborator

@claugp06 claugp06 left a comment

Choose a reason for hiding this comment

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

Everyting looks and good work fixing the errors and suggestions given to you. The idea you implement to reuse the component was a really goo one.

Copy link
Contributor

@marnunrey2 marnunrey2 left a comment

Choose a reason for hiding this comment

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

Perfect, everything works!

@claugp06 claugp06 self-requested a review April 11, 2024 12:59
Copy link
Collaborator

@claugp06 claugp06 left a comment

Choose a reason for hiding this comment

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

Nice job with the conflicts

@claugp06 claugp06 merged commit dcdef1c into develop Apr 11, 2024
1 check passed
@claugp06 claugp06 deleted the feature/185--edit-educators-and-volunteer branch April 11, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Fix/185- Edit educators and volunteer
4 participants