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

feat(dedicated.nutanix): display error message with operations ongoing #11634

Merged
merged 1 commit into from May 17, 2024

Conversation

dectotam
Copy link
Contributor

@dectotam dectotam commented May 3, 2024

Question Answer
Branch? develop
Bug fix? no
New feature? no
Breaking change? no
Tickets Feat MANAGER-13446
License BSD 3-Clause
  • Try to keep pull requests small so they can be easily reviewed.
  • Commits are signed-off
  • Only FR translations have been updated
  • Branch is up-to-date with target branch
  • Lint has passed locally
  • Standalone app was ran and tested locally
  • Ticket reference is mentioned in linked commits (internal only)
  • Breaking change is mentioned in relevant commits

Description

Related

chipp972
chipp972 previously approved these changes May 3, 2024
Comment on lines 15 to 23
$state.go('^');

if (scrollToTop) {
$timeout(() => {
const element = document.getElementById('nutanix_dashboard_node');
if (element) {
element.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
}, 300);
Copy link
Contributor

Choose a reason for hiding this comment

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

nitpick: Instead of $timeout, rely on the promise returned by $state.go().

Suggested change
$state.go('^');
if (scrollToTop) {
$timeout(() => {
const element = document.getElementById('nutanix_dashboard_node');
if (element) {
element.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
}, 300);
$state.go('^').then(() => {
if (scrollToTop) {
const element = document.getElementById('nutanix_dashboard_node');
element?.scrollIntoView({ behavior: 'smooth', block: 'start' });
}
});

ref: MANAGER-13446

Signed-off-by: Amandine Dectot <amandine.dectot.ext@corp.ovh.com>
Copy link

sonarcloud bot commented May 13, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@dectotam dectotam requested a review from darsene May 13, 2024 08:24
@darsene darsene changed the base branch from develop to release/components-w21 May 17, 2024 07:36
@darsene darsene merged commit 2bc3418 into release/components-w21 May 17, 2024
15 checks passed
@darsene darsene deleted the feat/MANAGER-13446 branch May 17, 2024 08:40
@darsene darsene mentioned this pull request May 17, 2024
18 tasks
darsene pushed a commit that referenced this pull request May 17, 2024
#11634)

ref: MANAGER-13446

Signed-off-by: Amandine Dectot <amandine.dectot.ext@corp.ovh.com>
darsene added a commit that referenced this pull request May 21, 2024
…s ongoing (#11634)"

This reverts commit 0af9aac.

Signed-off-by: David Arsène <david.arsene.ext@ovhcloud.com>
sidlynx pushed a commit that referenced this pull request May 21, 2024
#11634)

ref: MANAGER-13446

Signed-off-by: Amandine Dectot <amandine.dectot.ext@corp.ovh.com>
@dectotam dectotam restored the feat/MANAGER-13446 branch May 21, 2024 13:50
sidlynx pushed a commit that referenced this pull request May 21, 2024
#11634)

ref: MANAGER-13446

Signed-off-by: Amandine Dectot <amandine.dectot.ext@corp.ovh.com>
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.

None yet

6 participants