Skip to content

chore(direct-send): delete the module left behind by the send-tab removal - #1419

Merged
bmc08gt merged 2 commits into
code/cashfrom
chore/remove-direct-send-module
Sep 4, 2026
Merged

chore(direct-send): delete the module left behind by the send-tab removal#1419
bmc08gt merged 2 commits into
code/cashfrom
chore/remove-direct-send-module

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

apps/flipcash/features/direct-send is dead code. #1182 removed the send tab, deleted the AppRoute.Sheets.Send route the flow opened, dropped :apps:flipcash:features:direct-send from settings.gradle.kts and from the app's dependencies, and deleted maestro/direct_send.yaml and maestro/send_to_contact.yaml — but left the module's sources behind. Nothing has configured or compiled them in the 240 commits since.

The module also could not come back as-is: PhoneGateLandingScreen still navigates to AppRoute.Sheets.Send, which #1182 deleted from AppRoute.kt.

Removal, rather than repair, is what the history supports. The same commit took out every entry point and the route itself, and three call sites now carry comments explaining the absence as intentional — AndroidManifest.xml declines the /chat/.* App Link, and AppRouter and NotificationService both fall back to a plain launch because the flow the link opened is gone. Those comments stay; the reasoning outlives the module.

What goes with it:

  • apps/flipcash/core/.../core/send/SendStep.kt — the SendStep/SendResult flow contract had no consumer outside direct-send. ChatStep's separate ChatSendResult, used by messenger, is untouched.
  • 315 baseline-profile rules for com/flipcash/app/directsend classes that no longer ship. The profile has not been regenerated since perf(benchmark): extend baseline profile to send/chat, search, and cash bill #1029, so they were still listed.

No source outside the module referenced com.flipcash.app.directsend.

Feature catalog

Second commit, separable from the first. docs/architecture/features/README.md had drifted from the modules that exist, in three ways beyond the direct-send entry:

  • An appsettings row pointing at a directory feat(you): rebuild the You tab around the tip card #1291 deleted along with the standalone App Settings screen. AppSettingsCoordinator now lives in :apps:flipcash:shared:appsettings, not a feature module. Replaced by a menu row — the "You" tab those settings rows moved into.
  • tipping and user-profile were absent from the full module list and had no row, despite both being user-facing flows. Both get one.
  • The list and the header count disagreed with settings.gradle.kts.

The list now matches settings.gradle.kts exactly, at the 26 modules the header claims.

One thing left alone: apps/flipcash/features/home/ still exists on disk, but only as stale build/ output — it has no tracked files and left settings.gradle.kts with the module it used to hold.

…oval

#1182 removed the send tab and the `AppRoute.Sheets.Send` route it opened,
dropped `:apps:flipcash:features:direct-send` from `settings.gradle.kts` and the
app's dependencies, and deleted the two maestro flows that drove it — but left
the module's sources in the tree. They have sat there uncompiled for 240
commits, and `PhoneGateLandingScreen` still navigates to the deleted route, so
re-including the module would not configure.

Nothing outside the module referenced `com.flipcash.app.directsend`, and the
`SendStep`/`SendResult` flow contract in `:apps:flipcash:core` had no other
consumer, so both go with it. AndroidManifest, AppRouter and NotificationService
keep their comments explaining why chat deeplinks are deliberately unrouted —
that reasoning outlives the module.

The baseline profile still carried 315 rules for `com/flipcash/app/directsend`
classes that no longer ship; it has not been regenerated since #1029.
@bmc08gt bmc08gt self-assigned this Sep 4, 2026
@github-actions github-actions Bot added the type: chore Maintenance, config, CI/CD label Sep 4, 2026
The catalog had drifted from the modules that actually exist. #1291 deleted the
standalone App Settings screen and its module — its one surviving toggle moved
into My Account — but the catalog still carried an `appsettings` row pointing at
a directory that is gone, and `AppSettingsCoordinator` now lives in
`:apps:flipcash:shared:appsettings`, not a feature.

`tipping` and `user-profile` were missing from the full module list entirely,
and neither had a row despite being user-facing flows. Both get one, replacing
`appsettings` with `menu` — the "You" tab where those settings rows ended up.

The list now matches `settings.gradle.kts` exactly: 26 modules, the same 26 the
header claims. (`features/home/` still exists on disk as stale build output; it
has no tracked files and left `settings.gradle.kts` with the module it held.)
@bmc08gt
bmc08gt merged commit 6c138e8 into code/cash Sep 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance, config, CI/CD

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant