Skip to content

Conversation

@davidjumani
Copy link
Contributor

Description

Fixes #5172

Ensures that the page is refreshed after an async job only if it is the same / parent page being viewed

Types of changes

  • Breaking change (fix or feature that would cause existing functionality to change)
  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (improves an existing feature and functionality)
  • Cleanup (Code refactoring and cleanup, that may add test cases)

Bug Severity

  • BLOCKER
  • Critical
  • Major
  • Minor
  • Trivial

@davidjumani davidjumani changed the title ui: Refresh only on current / parent page ui: Refresh after async job completed only on current / parent page Jul 16, 2021
@davidjumani davidjumani requested a review from DaanHoogland July 16, 2021 12:12
@sureshanaparti sureshanaparti added this to the 4.16.0.0 milestone Jul 16, 2021
@DaanHoogland
Copy link
Contributor

DaanHoogland commented Jul 16, 2021

@blueorangutan ui

1 similar comment
@davidjumani
Copy link
Contributor Author

@blueorangutan ui

@blueorangutan
Copy link

@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5214 (SL-JID-380)

@davidjumani
Copy link
Contributor Author

@blueorangutan ui

@davidjumani davidjumani marked this pull request as ready for review July 20, 2021 05:12
@blueorangutan
Copy link

@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan
Copy link

UI build: ✔️
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5214 (SL-JID-394)

@davidjumani davidjumani requested a review from utchoang July 21, 2021 05:22
Copy link

@utchoang utchoang left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

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

clgtm, but not sure what eventBus.$emit('async-job-complete') does except for redrawing a page. quick monkey test succeeded but like to play more than just the simplest scenario.

@blueorangutan
Copy link

Packaging result: ✔️ el7 ✔️ el8 ✔️ debian. SL-JID 613

@DaanHoogland
Copy link
Contributor

tested with stop/start/delete/recover VM all good merging

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.

6 participants