Skip to content

feat: update password page#18

Open
oopshell wants to merge 1 commit intodevfrom
feat/CP-34-update-password-page
Open

feat: update password page#18
oopshell wants to merge 1 commit intodevfrom
feat/CP-34-update-password-page

Conversation

@oopshell
Copy link

@oopshell oopshell commented Apr 16, 2024

Main feature

Added user password reset page:

  • add account management to sidebar
  • create account management page
  • add change password card in account management page as clickable card, navigating to change password page
  • create change password page
  • create change password form
  • create shared component: styled modal for: showing user password reset success in dialogue
  • add password reset success modal after updating password successfully, navigating to login page after clicking "Ready to trade again" button on modal
  • add gql mutation of changing password
  • add route config for account management and change password page

Added testing:

  • unit test for account management page
  • unit test for card link component
  • unit test for change password page

Resolve CP-34


  • Entry to account management page
Screenshot 2024-06-13 at 11 35 28 Screenshot 2024-06-13 at 11 35 59
  • Account management page
Screenshot 2024-06-13 at 11 38 38
  • Reset password page
Screenshot 2024-06-13 at 11 39 57
  • Password criteria hint
Screenshot 2024-06-13 at 11 40 16
  • Repeat password not match alert
Screenshot 2024-06-13 at 11 41 01
  • Current password incorrect alert
Screenshot 2024-06-13 at 11 41 46
  • Password reset success message
Screenshot 2024-06-13 at 11 42 04

@oopshell oopshell force-pushed the feat/CP-34-update-password-page branch 3 times, most recently from 1d59a08 to 767e6b0 Compare May 20, 2024 14:23
@oopshell oopshell requested a review from Chris-Wang May 20, 2024 14:58
@Chris-Wang
Copy link
Contributor

Need to merge api part firstly

Copy link
Contributor

@Chris-Wang Chris-Wang left a comment

Choose a reason for hiding this comment

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

Need to update sideBar and topBar to add update component,
commits have duplicated text,
please merge the latest dev to your branch

@oopshell oopshell closed this Jun 12, 2024
@oopshell oopshell force-pushed the feat/CP-34-update-password-page branch from 767e6b0 to 72b69aa Compare June 12, 2024 02:07
@oopshell oopshell reopened this Jun 12, 2024
@oopshell oopshell closed this Jun 12, 2024
@oopshell oopshell force-pushed the feat/CP-34-update-password-page branch from b6310bd to 2ee311d Compare June 12, 2024 03:30
@oopshell oopshell reopened this Jun 12, 2024
Copy link
Contributor

@Chris-Wang Chris-Wang left a comment

Choose a reason for hiding this comment

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

Still there're no access to the new component from ui

@oopshell
Copy link
Author

Still there're no access to the new component from ui

Ya, I see the problem, and working on it. The backend data input schema changes, so I need to update several files in the frontend. I will fix this as soon as possible. Also, after fixing problems, I will add entry of the page to sidebar and topbar.

@oopshell oopshell force-pushed the feat/CP-34-update-password-page branch 3 times, most recently from f02ef6a to 05f1b8b Compare June 13, 2024 01:30
@oopshell oopshell requested a review from Chris-Wang June 13, 2024 02:03
@SeijaHuang SeijaHuang force-pushed the feat/CP-34-update-password-page branch 2 times, most recently from 17eb883 to b025748 Compare August 5, 2024 12:32
@SeijaHuang
Copy link
Contributor

Feat: add update password page

Added update password link in the account management page

  • Added unit tests for update password link
    Added update password page
  • Implemented update password form
  • Added unit tests for update password page
    Modularized update password link
  • Added protected/account/management fold to contain all components related to update password link
    Modularized update password page
  • Added protected/account/update fold to contain all components related to update password page
  • Refactored update password form in alignment with login-form and setting-form modularized before
  • Refactored the test file to update codes with new refactored form
    Fixed the conflicts between CP-34 with dev

Resolve CP-34

@SeijaHuang SeijaHuang force-pushed the feat/CP-34-update-password-page branch 6 times, most recently from 92ef5be to 0ed9c0c Compare August 7, 2024 03:55
Added update password link in the account management page
- Added unit tests for update password link
Added update password page
- Implemented update password form
- Added unit tests for update password page
Modularized update password link
- Added protected/account/management fold to contain all components related to update password link
Modularized update password page
- Added protected/account/update fold to contain all components related to update password page
- Refactor update password form in alignment with login-form and setting-form modularized before
- Refactor the test file to update codes with new refactored form
- Fixed the conflicts between CP-34 with dev

Refactor shared component
- move FormIcon, FormInput, and FormPasswordInput into shared component fold to make it shareable between all the forms, including setting page form and update password form

Resolve CP-34
@SeijaHuang SeijaHuang force-pushed the feat/CP-34-update-password-page branch from 0ed9c0c to 6b44bd4 Compare August 7, 2024 04:11
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