Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: composing machine does not update list lp#1842524 #5326

Conversation

petermakowski
Copy link
Contributor

@petermakowski petermakowski commented Feb 29, 2024

Done

This ensures we refetch machine list on compose success via dispatch(machineActions.invalidateQueries()); and update the list immediately. It also adds stale: false to success actions to ensure consistent behaviour.

  • fix: composing machine does not update list

QA steps

  • Go to KVM
  • Add a new machine using "Add VM" button
  • Ensure that it's displayed on the list immediately when operation is successful

Fixes

Fixes: lp#1842524

Screenshots

Notes

@webteam-app
Copy link

Demo starting at https://maas-ui-5326.demos.haus

@petermakowski petermakowski changed the title fix: composing machine does not update list fix: composing machine does not update list lp#1842524 Feb 29, 2024
@sparkiegeek
Copy link
Contributor

Fixes: lp#231842524

🙈

@Jay-Topher
Copy link
Contributor

Having difficulties QAing this (no cores available), @ndv99 could you have a look?

@ndv99
Copy link
Contributor

ndv99 commented Mar 1, 2024

Currently setting up a local env to QA this in, hopefully shouldn't be too long before I can +1 this

Copy link
Contributor

@ndv99 ndv99 left a comment

Choose a reason for hiding this comment

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

Finally, I can say: LGTM!

@petermakowski petermakowski merged commit 447be38 into canonical:main Mar 1, 2024
7 checks passed
@petermakowski petermakowski deleted the fix-composing-machine-list-update-lp#1842524 branch May 9, 2024 10:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants