Skip to content

Edit user data - #352

Merged
Nathnael45 merged 1 commit into
mainfrom
Edit-User
Apr 10, 2026
Merged

Edit user data#352
Nathnael45 merged 1 commit into
mainfrom
Edit-User

Conversation

@Nathnael45

Copy link
Copy Markdown
Contributor

Summary

  • Profile page (/profile) is now read-only — displays name, email, role, and account details
  • Editing moved to Settings (/settings) under Account Settings tab — "Edit Profile" button toggles inline editable fields
  • Saves first name, last name, and email via PATCH /users/:id (no new endpoints needed)
  • Phone number field included in edit flow as a UI stub — not saved until schema migration is done
  • "Edit Profile" button and pencil icon on profile page now navigate to settings
  • Removed unused ProfilePage organism component

Test plan

  • Log in and navigate to /profile — verify real user data loads and all fields are read-only
  • Click "Edit Profile" — verify it redirects to /settings
  • In settings, click "Edit Profile" — verify fields become editable
  • Update first/last name or email, click Save — verify changes persist after page reload
  • Click Cancel — verify fields revert to original values
  • Verify phone number field appears in edit mode but saving does not error

@Nathnael45
Nathnael45 merged commit 631941e into main Apr 10, 2026
2 checks passed
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.

1 participant