Skip to content

feat(myaccount/userprofile): editable profile header (name + photo)#1113

Merged
bmc08gt merged 5 commits into
code/cashfrom
feat/myaccount-editable-profile
Jul 21, 2026
Merged

feat(myaccount/userprofile): editable profile header (name + photo)#1113
bmc08gt merged 5 commits into
code/cashfrom
feat/myaccount-editable-profile

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Stacked PR 5/5 — base: feat/user-profile-edit-flow

Wires the profile edit flow into the account screen.

What

  • Reworks the account profile screen into an avatar-over-name header: tapping the avatar launches the photo edit flow; tapping the pencil beside the name launches the name edit flow (both via AppRoute.UpdateUserProfile).
  • View model surfaces the profile picture as a MediaItem and emits edit-name / edit-photo events (no exposed VM methods).

bmc08gt added 5 commits July 21, 2026 18:46
Adds the client wrapper for the BlobStorage gRPC service (direct-to-storage
presigned uploads): Api/Service/Repository/Controller, an HTTP BlobUploader,
the UploadTarget/UploadPolicy domain models + proto converters, error types,
and DI wiring. BlobStorageController.upload() coordinates the full handshake
(reserve -> PUT/POST -> complete -> poll until READY) behind one call, and
getUploadPolicy() exposes the accepted MIME/size constraints.

Covered by UploadPolicyTest and BlobStorageControllerTest.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
Makes the shared chat FeedOperations type-aware: feed(chatType) and
observeUnreadConversations(chatType) now take a required ChatType, and the
sync delegate merges the CONTACT_DM and TIP_DM feeds while only applying the
contact identity-drop to CONTACT_DM. Send flow consumes feed(CONTACT_DM); the
contact list carries a ConversationReference instead of a raw Conversation.

Session/nav rename the generic notificationUnreadCount to contactDmUnreadCount
now that unread is tracked per chat type.

Covered by FeedSyncCombinedFeedTest.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
Adds the app-layer BlobStorageCoordinator (new :apps:flipcash:shared:blob
module) wrapping BlobStorageController. It owns a DataStore-backed upload-policy
cache, exposes policy as a self-refreshing Flow (TTL + version invalidation),
and offers preloadPolicy()/upload(). The session controller preloads the
policy once the user is registered so photo selection can filter/validate
locally without a round-trip.

Covered by BlobStorageCoordinatorTest.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
Adds the :apps:flipcash:features:user-profile module — a stepped flow for
setting/replacing the display name and profile photo, drivable for either or
both steps (edit vs first-time setup) via AppRoute.UpdateUserProfile. Photo
selection reads the source MIME type, moderates, uploads through the
BlobStorageCoordinator, and sets the picture; name entry moderates and sets
the display name. ProfileController now merges the result into the local
UserProfile so the change is reflected immediately. ContentReader gains
MIME-type detection and format-aware, EXIF-stripped cache copies.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
Reworks the account profile screen into an avatar-over-name header: tapping the
avatar launches the photo edit flow, tapping the pencil beside the name
launches the name edit flow (both via AppRoute.UpdateUserProfile). The view
model now surfaces the profile picture as a MediaItem and emits edit-name /
edit-photo events instead of exposing methods.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@github-actions github-actions Bot added the type: feature New functionality label Jul 21, 2026
Base automatically changed from feat/user-profile-edit-flow to code/cash July 21, 2026 23:13
@bmc08gt bmc08gt changed the title feat(myaccount): editable profile header (name + photo) feat(myaccount/userprofile): editable profile header (name + photo) Jul 21, 2026
@bmc08gt
bmc08gt merged commit e998443 into code/cash Jul 21, 2026
2 of 3 checks passed
@bmc08gt
bmc08gt deleted the feat/myaccount-editable-profile branch July 21, 2026 23:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant