Skip to content

refactor(transaction-history): consolidate :shared:activityfeed into :shared:transaction-history - #1213

Merged
bmc08gt merged 8 commits into
code/cashfrom
chore/deprecate-activityfeed
Aug 11, 2026
Merged

refactor(transaction-history): consolidate :shared:activityfeed into :shared:transaction-history#1213
bmc08gt merged 8 commits into
code/cashfrom
chore/deprecate-activityfeed

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 11, 2026

Copy link
Copy Markdown
Collaborator

What

Executes the :shared:activityfeed:shared:transaction-history consolidation (Tasks 1–7 of docs/superpowers/plans/2026-08-11-activityfeed-phaseout.md), so the transaction-history data engine lives next to the presentation it feeds.

Changes

  • Scaffolds :apps:flipcash:shared:transaction-history and moves ActivityFeedCoordinator + ActivityFeedUpdater into it (package com.flipcash.shared.transactionhistory).
  • :shared:activityfeed becomes a deprecated shim — its two files are now @Deprecated forwarding typealiases, and it depends on the new module via api so callers still importing com.flipcash.app.activityfeed resolve transitively.
  • Migrates all 5 consumers off the shim (Gradle dep + imports, one commit each): :features:balance, :features:transactions, :features:withdrawal, :shared:tokens, :shared:session (the last also uses ActivityFeedUpdater, a plain @Inject param in RealSessionController — no multibinding). Plus a doc-only reference fix in :shared:blocklist.

The only remaining references to the old package are the two shim files themselves.

Not included (deliberately)

Task 8 (delete :shared:activityfeed) is gated on the v2 (FeatureFlag.NewUi) launch and is not in this PR — the shim stays until v1 consumers are gone.

Testing

:apps:flipcash:app:assembleDebug green (Hilt graph intact — the @Singleton binding resolves through the typealias). Unit tests pass for all five migrated modules.

…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.
@github-actions github-actions Bot added the type: chore Maintenance, config, CI/CD label Aug 11, 2026
…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 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 changed the title chore(activityfeed): deprecate module ahead of v2 transaction-history consolidation refactor(transaction-history): consolidate :shared:activityfeed into :shared:transaction-history Aug 11, 2026
@bmc08gt
bmc08gt merged commit d266d32 into code/cash Aug 11, 2026
6 checks passed
@bmc08gt
bmc08gt deleted the chore/deprecate-activityfeed branch August 11, 2026 19:58
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: chore Maintenance, config, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant