refactor(transaction-history): consolidate :shared:activityfeed into :shared:transaction-history - #1213
Merged
Merged
Conversation
…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.
…action-history Plan Task 3.
…transaction-history Plan Task 4.
…ansaction-history Plan Task 5.
…ction-history Plan Task 6.
…tory Plan Task 7. Covers ActivityFeedUpdater (a plain @Inject dependency in RealSessionController) as well as ActivityFeedCoordinator.
4 tasks
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Executes the
:shared:activityfeed→:shared:transaction-historyconsolidation (Tasks 1–7 ofdocs/superpowers/plans/2026-08-11-activityfeed-phaseout.md), so the transaction-history data engine lives next to the presentation it feeds.Changes
:apps:flipcash:shared:transaction-historyand movesActivityFeedCoordinator+ActivityFeedUpdaterinto it (packagecom.flipcash.shared.transactionhistory).:shared:activityfeedbecomes a deprecated shim — its two files are now@Deprecatedforwardingtypealiases, and it depends on the new module viaapiso callers still importingcom.flipcash.app.activityfeedresolve transitively.:features:balance,:features:transactions,:features:withdrawal,:shared:tokens,:shared:session(the last also usesActivityFeedUpdater, a plain@Injectparam inRealSessionController— 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:assembleDebuggreen (Hilt graph intact — the@Singletonbinding resolves through the typealias). Unit tests pass for all five migrated modules.