Skip to content

Conversation

@konveyor-ci-bot
Copy link

Following the pattern in discover-import-wizard from PR #2646, update
generate-assets-wizard useWizardReducer to use immer and
useImmerReducer for handling the initial state and all reducer
actions. This helps keep the initial state clean and resettable, and
helps keep the reducer logic simple and focused.

No visible changes.

Summary by CodeRabbit

  • Refactor

  • Reworked wizard state management to use an immutable-draft approach
    for more consistent initialization, stable setter references, and
    reliable reset behavior.

  • Bug Fixes

  • Fixed readiness computation so Continue/Next reflects profile,
    parameters, filters, and advanced options immediately and consistently.


Signed-off-by: Scott J Dickerson [email protected]
Signed-off-by: Cherry Picker [email protected]

…Reducer` (#2658)

Following the pattern in discover-import-wizard from PR #2646, update
generate-assets-wizard `useWizardReducer` to use immer and
`useImmerReducer` for handling the initial state and all reducer
actions. This helps keep the initial state clean and resettable, and
helps keep the reducer logic simple and focused.

No visible changes.

## Summary by CodeRabbit

- **Refactor**
- Reworked wizard state management to use an immutable-draft approach
for more consistent initialization, stable setter references, and
reliable reset behavior.

- **Bug Fixes**
- Fixed readiness computation so Continue/Next reflects profile,
parameters, filters, and advanced options immediately and consistently.

---------

Signed-off-by: Scott J Dickerson <[email protected]>
Signed-off-by: Cherry Picker <[email protected]>
@coderabbitai
Copy link

coderabbitai bot commented Oct 9, 2025

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

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