Skip to content

refactor(core-ui): extract shared UI into :apps:flipcash:core-ui - #1243

Merged
bmc08gt merged 1 commit into
code/cashfrom
refactor/extract-core-ui
Aug 14, 2026
Merged

refactor(core-ui): extract shared UI into :apps:flipcash:core-ui#1243
bmc08gt merged 1 commit into
code/cashfrom
refactor/extract-core-ui

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

Extract shared Flipcash Compose UI into a dedicated :apps:flipcash:core-ui module.

  • Moves the shared com.flipcash.app.core.ui.* composables (TileButton, TokenCard, TokenCardStack, NavigationBar, Callout, flow/processing/transition helpers, etc.) out of :apps:flipcash:core into a new :apps:flipcash:core-ui library module.
  • Adds core-ui/build.gradle.kts and wires the module into consumers.
  • Relocates SteppedFlowRoute from ui/flow into navigation and updates AppRoute accordingly.

Mostly pure file moves (no behavioral change) so the shared UI can be depended on without pulling in the rest of :core.

Test plan

  • ./gradlew :apps:flipcash:app:compileDebugKotlin passes.

Move the shared Compose UI out of :apps:flipcash:core into a new
:apps:flipcash:core-ui module so it can depend on :shared:featureflags
(core cannot without a dependency cycle).

- Move all composables under core/ui (+ internal/ui/previews) to core-ui,
  keeping the com.flipcash.app.core.ui package so call-site imports are
  unchanged.
- Keep SteppedFlowRoute (a route type, not UI) in core, relocated to the
  core.navigation package.
- Wire core-ui into feature modules via the feature convention plugin,
  excluding core, core-ui and featureflags to avoid a cycle; add explicit
  deps for the two non-feature-plugin consumers (app, chat-ui).
@bmc08gt
bmc08gt force-pushed the refactor/extract-core-ui branch from a611c6a to cb05653 Compare August 14, 2026 23:55
@github-actions github-actions Bot added type: feature New functionality area: build-system Gradle, convention plugins, build-logic labels Aug 14, 2026
@bmc08gt bmc08gt changed the title feat(wallet,discovery): v2 action tiles + frosted currency-creator card refactor(core-ui): extract shared UI into :apps:flipcash:core-ui Aug 14, 2026
@bmc08gt
bmc08gt merged commit c23b031 into code/cash Aug 14, 2026
6 checks passed
@bmc08gt
bmc08gt deleted the refactor/extract-core-ui branch August 14, 2026 23:57
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 type: feature New functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant