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

Use the same structure and spacing for deployment summaries #2534

Merged
merged 3 commits into from
Jan 16, 2025

Conversation

dotNomad
Copy link
Collaborator

This PR changes the structure and CSS of the in progress summary to be more similar to our other states - cancelled, successful, failed.

It unifies some of the CSS and markup to accomplish this so the vertical spacing and font-weight do not change across those summaries.

Preview Video
CleanShot.2025-01-14.at.13.51.22.mp4

Notice how the vertical space between the title (progress ring) and the line above no longer change.

Intent

Resolves #2531

Type of Change

    • Bug Fix
    • New Feature
    • Breaking Change
    • Documentation
    • Refactor
    • Tooling

Copy link
Collaborator Author

@dotNomad dotNomad left a comment

Choose a reason for hiding this comment

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

The actual content has not changed, just the structure and styling.

}

.deployment-summary-container {
display: flex;
align-items: center;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This wasn't being used since align-items: baseline underneath overrode it.

@@ -596,7 +598,8 @@ const viewContent = () => {
margin-top: 1.33em;
}

.deployment-summary {
.deployment-summary-title {
margin-block-start: 1.33em;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This was pulled out of the user stylesheet of VS Code to unify it with .progress-ring

Comment on lines +656 to +657
margin-top: 0;
margin-bottom: 0;
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The margin-top is now taken care of by the margin-bottom of the h4.deployment-summary-title CSS.

Copy link
Collaborator

@sagerb sagerb left a comment

Choose a reason for hiding this comment

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

LGTM!

@dotNomad dotNomad force-pushed the dotnomad/stages-same-height branch from 34e62c8 to bb6c147 Compare January 15, 2025 00:59
@dotNomad dotNomad merged commit c37a077 into main Jan 16, 2025
14 checks passed
@dotNomad dotNomad deleted the dotnomad/stages-same-height branch January 16, 2025 17:48
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.

Unify deploy in progress design with deployment summaries
2 participants