Skip to content

refactor(activity): simplify transaction row titles - #1221

Merged
bmc08gt merged 1 commit into
code/cashfrom
refactor/activity-row-titles
Aug 12, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
refactor/activity-row-titles

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 12, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Walk back the client-side title logic for buy/sell/deposit activity rows. Purchased, Sold, and Added now render the server text verbatim — no appended token name, and no Added Money override for USDF buys.
  • Received tips read "Tip from ". That label now lives in strings.xml as title_activity_tipFrom and is resolved through an injected ResourceHelper instead of a hardcoded literal.
  • TransactionItemMapper gains a ResourceHelper constructor dependency (Hilt-provided). Only the placeholder ({0}) and counterparty-append paths for tips/sends remain.

Test Plan

  • :apps:flipcash:shared:transaction-history:testDebugUnitTest passes (title tests updated to assert verbatim buy/sell text and "Tip from …").
  • Spot-check the wallet recent-activity list on device: buy/sell/deposit rows show the plain verb; received tips show "Tip from ".

Walk back the client-side title embellishments for buy/sell/deposit rows:
Purchased, Sold and Added now render the server text verbatim instead of
appending the token name or overriding USDF buys to "Added Money".

Received tips read "Tip from <name>"; the label lives in strings.xml
(title_activity_tipFrom) and is resolved through an injected ResourceHelper
rather than a hardcoded literal.
@github-actions github-actions Bot added the type: refactor Code restructuring, no behavior change label Aug 12, 2026
@bmc08gt
bmc08gt merged commit ea03e33 into code/cash Aug 12, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the refactor/activity-row-titles branch August 12, 2026 16:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant