Skip to content

refactor: consolidate activity feed into :shared:transaction-history - #1214

Closed
bmc08gt wants to merge 8 commits into
code/cashfrom
refactor/transaction-history-consolidation
Closed

refactor: consolidate activity feed into :shared:transaction-history#1214
bmc08gt wants to merge 8 commits into
code/cashfrom
refactor/transaction-history-consolidation

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

Summary

Phase out the deprecated :shared:activityfeed module and consolidate the activity-feed domain into :shared:transaction-history ahead of the v2 wallet work. Pure move/refactor — no behavior change.

  • Deprecate :shared:activityfeed (module + phase-out plan).
  • Move ActivityFeedCoordinator/ActivityFeedUpdater into :shared:transaction-history.
  • Update all consumers (balance, transactions, withdrawal, tokens, session) to import from the new module.
  • Fix up the blocklist doc reference to the new package.

Base for the stacked feature PR (wallet recent activity).

Test Plan

  • ./gradlew :apps:flipcash:app:assembleDebug compiles
  • Affected module unit tests pass (balance, transactions, session, tokens)
  • No runtime behavior change vs. pre-move

…dation

Marks ActivityFeedCoordinator/ActivityFeedUpdater @deprecated (WARNING, non-breaking —
no allWarningsAsErrors) pointing at the go-forward home :shared:transaction-history, and
adds a phased consolidation plan.

The activity-feed module is the data engine v2's unified history runs on, so this is a
consolidation (move it next to the presentation it feeds), not a removal of behavior. The
plan uses a forwarding-typealias shim so the 5 dependents migrate one at a time and the
module is deleted last, gated on the v2 (FeatureFlag.NewUi) launch. Module move is NOT in
this change — plan review first.
…rom :shared:activityfeed

Scaffolds :apps:flipcash:shared:transaction-history and relocates the two classes into it
(package com.flipcash.shared.transactionhistory). The old :shared:activityfeed keeps
@deprecated forwarding typealiases and now depends on the new module via api() so callers
still importing com.flipcash.app.activityfeed resolve transitively. Zero dependent edits;
app assembles and the Hilt graph is intact. Plan Task 2.
…tory

Plan Task 7. Covers ActivityFeedUpdater (a plain @Inject dependency in RealSessionController)
as well as ActivityFeedCoordinator.
@github-actions github-actions Bot added type: refactor Code restructuring, no behavior change area: payments Payments, transfers, intents, billing area: build-system Gradle, convention plugins, build-logic area: tokens Token accounts, balances, token info area: session labels Aug 11, 2026
@bmc08gt bmc08gt closed this Aug 11, 2026
@bmc08gt
bmc08gt deleted the refactor/transaction-history-consolidation branch August 11, 2026 19:55
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: payments Payments, transfers, intents, billing area: session area: tokens Token accounts, balances, token info type: refactor Code restructuring, no behavior change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant