Skip to content

State hoist and prep for Wizard UI - #34

Merged
mariobodemann merged 5 commits into
mainfrom
feature/wizard-state-hoist
Sep 5, 2025
Merged

State hoist and prep for Wizard UI#34
mariobodemann merged 5 commits into
mainfrom
feature/wizard-state-hoist

Conversation

@maiatoday

Copy link
Copy Markdown
Collaborator

This PR refactors the bitmap processing pipeline by hoisting interim output state up into the PatchableDetail Composable. This allows sub-steps to only do the part they are responsible for and allows the user to jump back to a previous points and rerun a step. Each action is also triggered by an arguably ugly Do it button.

These changes are necessary to get the navigation flow into a state that I can make a prettier wizard interface in a subsequent PR. This new flow also allows future changes for more interactive patchables.

Links to #33 more PRs to come

@maiatoday maiatoday self-assigned this Aug 31, 2025
Comment thread app/src/main/java/de/berlindroid/zepatch/MainActivity.kt
Comment thread app/src/main/java/de/berlindroid/zepatch/MainActivity.kt
Comment thread app/src/main/java/de/berlindroid/zepatch/ui/BitmapToStitches.kt Outdated
Comment thread app/src/main/java/de/berlindroid/zepatch/utils/CaptureToBitmap.kt Outdated

@mariobodemann mariobodemann left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some minor cleanup suggested, otherwise looks good to me.

Comment thread app/src/main/java/de/berlindroid/zepatch/ui/BitmapToStitches.kt Outdated
Comment thread app/src/main/java/de/berlindroid/zepatch/ui/PatchableToBitmap.kt Outdated
@mariobodemann
mariobodemann added this pull request to the merge queue Sep 5, 2025
Merged via the queue into main with commit d4413d7 Sep 5, 2025
1 check passed
@mariobodemann
mariobodemann deleted the feature/wizard-state-hoist branch September 5, 2025 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants