Skip to content

chore(protos): follow flipcash2 0.14.0 - #1634

Merged
bmc08gt merged 2 commits into
code/cashfrom
chore/flipcash2-df1cb04e
Sep 30, 2026
Merged

bmc08gt merged 2 commits into
code/cashfrom
chore/flipcash2-df1cb04e

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 30, 2026

Copy link
Copy Markdown
Collaborator

Follows the flipcash2 0.14.0 contract (upstream df1cb04e) and bumps the pin.

Blocked on code-payments/flipcash2-client-protocol#20: 0.14.0 isn't published yet, so CI can't resolve the pin. This stays a draft until the release is on Maven Central / tagged.

  • Proto renames followed at every generated-code call site: UpdateFlipcard RPC and its request/response, FlipcardCustomization, SendPresets.
  • New isUsernameAutoAssigned on the own-profile model, default false, carried through the own-profile cache. Nothing in the UI reads it yet.
  • App-owned names (tipCard*, TipPresets, TipOrigin, tip card UI) are unchanged; only generated names had to move.
  • ProfileController.setDisplayName sets the flag when the server returns an assigned username; setUsername clears it.

:apps:flipcash:app:compileDebugKotlin and unit tests for :services:flipcash, shared:profile, shared:userflags, shared:payments and features:userflags pass against the local client checkout.

…auto_assigned

Follow the proto renames at the call sites: UpdateTipCard -> UpdateFlipcard
in ProfileApi/ProfileService, tip_card_customization -> flipcard_customization
in UserProfileMapper, and TipPresets/tip_presets -> SendPresets/send_presets
in UserFlagsMapper.

Add UserProfile.isUsernameAutoAssigned (default false), map it from the
proto, and cache it in ProfileCoordinator's own-profile store.
ProfileController sets it when setDisplayName returns an assigned username
and clears it on setUsername.

Built against the local flipcash2-client-protocol checkout; the pin in
libs.versions.toml is not bumped.
@bmc08gt bmc08gt self-assigned this Sep 30, 2026
@github-actions github-actions Bot added type: chore Maintenance, config, CI/CD area: network gRPC, connectivity, API, exchange rates area: build-system Gradle, convention plugins, build-logic and removed type: chore Maintenance, config, CI/CD labels Sep 30, 2026
@bmc08gt
bmc08gt marked this pull request as ready for review September 30, 2026 17:48
@bmc08gt
bmc08gt merged commit 81fb63b into code/cash Sep 30, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: build-system Gradle, convention plugins, build-logic area: network gRPC, connectivity, API, exchange rates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant