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

UI: Task group scaling timeline #8593

Merged
merged 19 commits into from
Aug 7, 2020
Merged

Conversation

DingoEatingFuzz
Copy link
Contributor

The continuation of #8551. Now the task group detail page will conditionally show the recent scaling events as an accordion of activity or as a timeline visualization with interactive annotations.

The timeline will be shown if there are more count events than non-count events and if there are at least two count events. This should be most of the time for most jobs.

Scaling events timeline with an error annotation expanded

This also includes a couple new Stories for the line chart component, including one that demonstrates annotation staggering:

Line chart with staggered annotations

@DingoEatingFuzz DingoEatingFuzz added this to the 0.12.2 milestone Aug 5, 2020
@DingoEatingFuzz DingoEatingFuzz requested review from backspace and a team August 5, 2020 19:01
@github-actions
Copy link

github-actions bot commented Aug 5, 2020

Ember Asset Size action

As of 950c2bd

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +10.8 kB +1.76 kB
nomad-ui.css +2.68 kB +403 B

Files that stayed the same size 🤷‍:

File raw gzip
vendor.js 0 B 0 B
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented Aug 5, 2020

Ember Test Audit comparison

master 950c2bd change
passes 1361 1378 +17
failures 0 0 0
flaky 1 0 -1
duration 7m 09s 714ms 6m 42s 574ms -27s 140ms

Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

This looks good to me, a sensible way to build on existing things. I have a couple of questions and minor suggestions but nothing blocking.

ui/app/components/line-chart.js Show resolved Hide resolved
ui/tests/acceptance/task-group-detail-test.js Outdated Show resolved Hide resolved
ui/app/templates/components/line-chart.hbs Show resolved Hide resolved
@DingoEatingFuzz
Copy link
Contributor Author

Thank you for the feedback @backspace, I added a test for staggered annotations and made the dom elements stable. I also found a bug in the eq-by helper due to handlebars' lack of short-circuit evaluation.

Copy link
Contributor

@backspace backspace left a comment

Choose a reason for hiding this comment

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

total success! 😀

@DingoEatingFuzz DingoEatingFuzz merged commit db363cc into master Aug 7, 2020
@DingoEatingFuzz DingoEatingFuzz deleted the f-ui/scaling-events-chart branch August 7, 2020 17:35
@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 120 days ⏳. This helps our maintainers find and focus on the active contributions.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants