Skip to content

Complete user profile editing functionality #63

@frankbria

Description

@frankbria

Problem

Profile editing has limited functionality. Users should be able to fully customize their profile information.

Current Behavior

  • Basic profile fields can be edited
  • Some profile fields may be read-only
  • Missing advanced profile options
  • Profile picture upload may not work

Expected Behavior

  • All profile fields editable
  • Profile picture upload works
  • Bio, writing preferences, notification settings customizable
  • Changes save reliably
  • Profile data shows in exported books (author info)

Implementation Guidance

  1. Audit current profile model for all fields
  2. Check which fields are editable in UI
  3. Add missing edit controls
  4. Implement profile picture upload (reference book cover upload pattern)
  5. Add validation for all fields
  6. Ensure profile data appears in exported books

Files Likely Involved

  • frontend/src/components/profile/ProfileEditor.tsx - Profile UI
  • backend/app/api/routes/users.py - User update endpoint
  • backend/app/models/user.py - User model
  • backend/app/services/upload_service.py - Profile picture upload

Acceptance Criteria

  • All profile fields can be edited
  • Profile picture upload works
  • Bio field supports rich text
  • Writing preferences save correctly
  • Changes reflect immediately after save
  • Profile data appears in exported books
  • Validation prevents invalid data
  • E2E test covers profile editing

Blocked by

None

Metadata

Metadata

Assignees

Labels

backendBackend/API workfeatureNew feature implementationfrontendFrontend/UI worklowLow priority - nice to haveprofileUser profile

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions