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

Workflow event status badge #642

Conversation

Assem-Hafez
Copy link
Contributor

@Assem-Hafez Assem-Hafez commented Sep 2, 2024

Add Badge to represent activity status.

Status values:

  • Completed
  • Ongoing
  • Failed
  • Waiting

screenshot
image

Fix tests:
snapshot files are by default removed if there are no matching test files for them. Since we have multiple test project setup, each test project can remove the snapshot files for other projects. To avoid this issue .snap extension was changed to .snapshot to avoid other projects from processing the browser snapshots

Copy link
Contributor

@adhityamamallan adhityamamallan left a comment

Choose a reason for hiding this comment

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

Stamped with a nit

},
[WORKFLOW_EVENT_STATUS.WAITING]: {
color: $theme.colors.black,
backgroundColor: $theme.colors.backgroundSecondary,
Copy link
Contributor

Choose a reason for hiding this comment

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

minor nit: backgroundSecondary is slightly different from the background gray we use in cadence-web

Copy link
Contributor Author

Choose a reason for hiding this comment

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

seem like the docs is not reflecting the correct value

Copy link
Contributor Author

@Assem-Hafez Assem-Hafez Sep 4, 2024

Choose a reason for hiding this comment

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

Actually i found that the designs has backgroundSecondary as #F3F3F3 everywhere.
While our implementation has them as #F6F6F6.
Updated the value in the theme

@Assem-Uber Assem-Uber merged commit 32ecd3c into uber:release/4.0.0 Sep 4, 2024
6 checks passed
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