Skip to content

Close restore and attach form right after receiving the job id#6603

Merged
yadvr merged 1 commit intoapache:mainfrom
scclouds:close-restore-backup-form-on-button-action
Aug 3, 2022
Merged

Close restore and attach form right after receiving the job id#6603
yadvr merged 1 commit intoapache:mainfrom
scclouds:close-restore-backup-form-on-button-action

Conversation

@GutoVeronezi
Copy link
Copy Markdown
Contributor

Description

When restoring and attaching a backup volume, the UI waits for the successfful response of the API to close the formulary. However, letting the form open after sending the command can confuse users, that might try to send the command again.

Note: other formularies (like volume or snapshot creation) always are closed after sending the command to the backend.

With this PR, we intend to close the formulary right after sending the command, as done with others.

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)

Feature/Enhancement Scale or Bug Severity

Feature/Enhancement Scale

  • Major
  • Minor

How Has This Been Tested?

It was tested in a local lab.

Before the changes, I tried to restore and attach a backup volume. After clicking the button Ok, the command was sent, but the formulary was kept open. After the changes, when clicking the button Ok, the command is sent and the formulary is closed.

@acs-robot
Copy link
Copy Markdown

Found UI changes, kicking a new UI QA build
@blueorangutan ui

@blueorangutan
Copy link
Copy Markdown

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

@blueorangutan
Copy link
Copy Markdown

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

@DaanHoogland DaanHoogland requested a review from utchoang August 3, 2022 06:50
Copy link
Copy Markdown

@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!

@yadvr yadvr added this to the 4.18.0.0 milestone Aug 3, 2022
@yadvr yadvr merged commit d4d310c into apache:main Aug 3, 2022
neogismm pushed a commit to neogismm/cloudstack that referenced this pull request Aug 6, 2022
When restoring and attaching a backup volume, the UI waits for the successfful response of the API to close the formulary. However, letting the form open after sending the command can confuse users, that might try to send the command again.

Note: other formularies (like volume or snapshot creation) always are closed after sending the command to the backend.

With this PR, we intend to close the formulary right after sending the command, as done with others.

Co-authored-by: GutoVeronezi <daniel@scclouds.com.br>
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