agent_crew icon indicating copy to clipboard operation
agent_crew copied to clipboard

feat: User Profile page (name, password)

Open sre-helmcode opened this issue 8 months ago • 1 comments

Summary

Create the User Profile page where users can update their display name and change their password.

Page: User Profile (/settings/profile)

Sections

1. Profile Info

  • Name input (editable)
  • Email display (read-only)
  • Organization name display (read-only, with link to org settings)
  • "Save" button

2. Change Password

  • Current password input
  • New password input
  • Confirm new password input
  • Password strength indicator
  • "Change Password" button

API Calls

PUT /api/auth/me
{ "name": "New Name" }
→ 200 { user }

PUT /api/auth/me/password
{ "current_password": "...", "new_password": "..." }
→ 200 { message: "Password updated" }

Note: These two backend endpoints need to be added to agent_crew_api#51 or #54.

Design

  • Follow same layout as Organization Settings
  • Add "Profile" entry to sidebar navigation (above Organization)
  • Simple form layout, consistent with existing pages

Acceptance Criteria

  • [ ] Profile info display and edit (name)
  • [ ] Password change form with validation
  • [ ] Current password required for password change
  • [ ] Password strength validation (same rules as register)
  • [ ] Toast notifications for success/error
  • [ ] Sidebar navigation entry
  • [ ] Mobile responsive
  • [ ] Unit tests

Dependencies

  • Depends on: #35 (auth types + API client)
  • Backend dependency: agent_crew_api#51 (user update endpoints)

Related Issues

Part of Auth & Multi-tenancy epic (Phase 2).

sre-helmcode avatar Mar 07 '26 12:03 sre-helmcode

Completed in v0.3.0 release (commit 8ca8e5c). All auth UI features implemented and tested.

sre-helmcode avatar Mar 11 '26 14:03 sre-helmcode