feat(client): profile picture upload via expo-image-picker #217
Labels
No labels
area:auth
area:ci
area:db
area:infra
area:native
area:pwa
area:service
epic
feature
foundation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
james/carol#217
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The universal client's
/profilescreen shows the user's picture as a read-only initials avatar with a "manage from web" hint. The picture upload flow that already exists on the API side (/api/profile/picture) is reachable only through the deleted Next.js PWA. Native (Android, Flatpak) users have no way to set a picture without a separate browser session.Source
apps/client/app/(app)/profile.tsxlines 28-31:PR #201 ("Out of scope"):
Scope
expo-image-pickertoapps/client/(pure-JS picker UI on web; native picker on Android)./api/profile/picturevia a new@carol/api-clientmutation hook (useUpdateProfilePicture)./api/profile/picture.sharp(already inapps/api); per-user scoping via the storage abstraction (apps/api/lib/storage/).react-i18next; tokens viauseTheme().Acceptance criteria
expo-image-pickerrequires; documented inapps/client/README.md.Out of scope
sharppipeline handles resize).Composes with