Skip to content

feat(tokens): send, More sheet, community chats and share on Currency Info - #1865

Merged
bmc08gt merged 30 commits into
code/cashfrom
feat/currency-info-send
Oct 28, 2026
Merged

bmc08gt merged 30 commits into
code/cashfrom
feat/currency-info-send

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Currency Info gets a direct Send, a More sheet, Top Community Chats, and a Share-to-chats sheet. Spec: docs/specs/currency-info-send.md in the orchestrator repo; design node 11622:1585.

  • Action tiles. A held currency shows Send / Buy / Transactions / More. Dollars drops Buy. A currency you don't hold shows Buy In only. The inline recent-activity list is gone; Transactions opens it.
  • Send. New AppRoute.Sheets.CurrencySend(mint): amount (locked to the currency, no picker), then Select Recipient, then the existing swipe-to-send sheet. Recipients are 1:1 DMs only, in chat-list order, searchable by name and username. It uses the DM send's intent path, so the message matches one sent from inside the chat.
  • Or Give As Cash. AppRoute.Sheets.Give takes an optional amount; with it, CashScreen skips entry and shows the bill.
  • More. Convert / Withdraw / Deposit in the group Send/Request sheet style. Dollars has no Deposit row. Deposit has no per-mint route, so it opens the existing deposit flow.
  • Top Community Chats. Reads top_holder_chats from GetCommunity (flipcash2-client-protocol 0.22.0): up to three rows, View All, and a ranking info sheet. The section hides when the call errors or returns nothing. Holdings summary is mapped in mint quarks.
  • Share. The share icon opens "Share " with Share, Copy Link and recent chats.

Tests cover the tile and More-row rules, the recipient filter and order, community row text and hide-on-empty, and the community mapping.

HoldingsSummary.quarks is the total in the currency's own quarks, not USD. Wrapping it in Fiat valued it at 1e6 per unit instead of 1e10. Carry the raw Long so the UI can format a token amount.
TokenInfoViewModel fetches GetCommunity per mint and keeps the ranked chats, empty on failure or for USDF. OnMore shows Convert, Withdraw and (non-USDF) Deposit as card rows like the group Send/Request sheet. Deposit has no per-mint form yet, so it opens the account deposit.
@bmc08gt bmc08gt self-assigned this Oct 27, 2026
@github-actions github-actions Bot added type: feature New functionality area: payments Payments, transfers, intents, billing area: network gRPC, connectivity, API, exchange rates area: tokens Token accounts, balances, token info and removed type: feature New functionality labels Oct 27, 2026
@github-actions github-actions Bot added the type: feature New functionality label Oct 27, 2026
@github-actions github-actions Bot added the area: ui Compose UI, theme, components, resources label Oct 27, 2026
…d screens

Currency Info tiles, chat cards (42 photo, 16 chevron, 67 tall), View All
(white, Medium 13), About (Regular 14), footer (Created Jan 15, 2026, Regular 12),
Select Recipient and Share (24 avatars, 17 names), swipe sheet (SemiBold 44 amount,
36 chip without chevron, 56 avatar) and the Enter Amount subtitle ("$X available",
Medium 16). Spacing and heights use CodeTheme.dimens.grid.

Recipient and share rows fold Unicode styled letters (NFKC) so a name such as
mathematical-bold Godswill is drawn in the app font instead of a fallback.
… field

Restore BottomScrollEdge on Select Recipient and put Invite People's inline scrim back.
Select Recipient's search is a filled 46 tall, 10 radius, 8% white field with no border,
set at the call site so the shared SearchInput is unchanged. The Share sheet's Recent
Chats divider keeps the rows' horizontal insets.
Content scrolling under the nav bar blurs out through BottomScrollEdge, shown while the
list can scroll forward, so the Created footer reads clean at the end.
@bmc08gt
bmc08gt merged commit 0f2732f into code/cash Oct 28, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: network gRPC, connectivity, API, exchange rates area: payments Payments, transfers, intents, billing area: tokens Token accounts, balances, token info area: ui Compose UI, theme, components, resources type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant