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, deployments] Deployment history on steady state #17167

Merged
merged 2 commits into from
May 12, 2023

Conversation

philrenaud
Copy link
Contributor

@philrenaud philrenaud commented May 12, 2023

Adds a toggle to show/hide deployment history, and adds task event history to steady-state job status panels

Resolves #17159

image
image

@philrenaud philrenaud force-pushed the 17159-ui-steady-state-task-events branch from 67e7ab3 to 3d2cf93 Compare May 12, 2023 02:40
@philrenaud philrenaud marked this pull request as ready for review May 12, 2023 02:43
@github-actions
Copy link

github-actions bot commented May 12, 2023

Ember Asset Size action

As of c90694d

Files that got Bigger 🚨:

File raw gzip
nomad-ui.js +1.83 kB +244 B
nomad-ui.css +675 B +89 B

Files that got Smaller 🎉:

File raw gzip
vendor.js -6.1 kB -1.91 kB

Files that stayed the same size 🤷‍:

File raw gzip
vendor.css 0 B 0 B

@github-actions
Copy link

github-actions bot commented May 12, 2023

Ember Test Audit comparison

main c90694d change
passes 1495 1496 +1
failures 4 4 0
flaky 0 0 0
duration 000ms 000ms -000ms

Copy link
Contributor

@ChaiWithJai ChaiWithJai left a comment

Choose a reason for hiding this comment

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

LGTM

export default class JobStatusDeploymentHistoryComponent extends Component {
@service notifications;

@tracked isHidden = this.args.isHidden;
Copy link
Contributor

Choose a reason for hiding this comment

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

note: If you ever invoke the component with the value of this argument as a variable instead of a hard coded boolean value, this property will not reactively update based on the value of that variable changing. Using a reactive getter will remove the possibility of a bug like this.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ChaiWithJai Yep, started with that, but my toggle would cease to work in this case. I could have an "in-between" variable to use for toggling but that felt like things would be getting out of sorts.

@philrenaud philrenaud merged commit 8b7ff66 into main May 12, 2023
5 checks passed
@philrenaud philrenaud deleted the 17159-ui-steady-state-task-events branch May 12, 2023 20:49
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.

[ui, deployments] Have a "Show latest deployment task events" toggle for steady state
2 participants