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

NAS-117903 / 22.12 / NAS-117903: Set correct key sequence #7118

Merged
merged 1 commit into from
Sep 23, 2022

Conversation

bvasilenko
Copy link
Contributor

Testing

On the Reporting page, click the Zoom out button for the CPU usage graph. Check that chart's labels and values aren't shuffled.

@bvasilenko bvasilenko requested a review from a team as a code owner September 22, 2022 06:55
@bvasilenko bvasilenko requested review from undsoft and removed request for a team September 22, 2022 06:55
@bugclerk bugclerk changed the title NAS-117903: Set correct key sequence NAS-117903 / 22.12 / NAS-117903: Set correct key sequence Sep 22, 2022
@bugclerk
Copy link
Contributor

@codecov
Copy link

codecov bot commented Sep 22, 2022

Codecov Report

Merging #7118 (2f5f9ed) into master (6b031a8) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #7118      +/-   ##
==========================================
- Coverage   41.24%   41.23%   -0.02%     
==========================================
  Files        1049     1050       +1     
  Lines       46111    46118       +7     
  Branches     6407     6408       +1     
==========================================
- Hits        19020    19017       -3     
- Misses      27091    27101      +10     
Impacted Files Coverage Δ
...ts-dashboard/components/report/report.component.ts 0.00% <0.00%> (ø)
...dashboard/topology-card/topology-card.component.ts
...-card/autotrim-dialog/autotrim-dialog.component.ts
...nts/disk-health-card/disk-health-card.component.ts
...disk-dialog/manage-unused-disk-dialog.component.ts
...nts/unused-disk-card/unused-disk-card.component.ts
...ol-usage-card/gauge-chart/gauge-chart.component.ts
...board/pool-usage-card/pool-usage-card.component.ts
...disk-dialog/manage-unused-disk-dialog.interface.ts
... and 12 more

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Collaborator

@undsoft undsoft left a comment

Choose a reason for hiding this comment

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

It works. 👍🏻

@@ -222,6 +223,13 @@ export class ReportComponent extends WidgetComponent implements AfterViewInit, O
});
}

async ngOnInit(): Promise<void> {
const zoom = this.zoomLevels[this.timeZoomIndex];
const rrdOptions = await this.convertTimespan(zoom.timespan);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I'm surprised await works here. I would imagine that Angular doesn't wait for promises in ngOnInit to resolve.

@bvasilenko bvasilenko merged commit 3f8b8d4 into master Sep 23, 2022
@bvasilenko bvasilenko deleted the NAS-117903 branch September 23, 2022 05:24
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.

3 participants