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

Show loader skeleton in result view for running workflows #705

Merged

Conversation

adhityamamallan
Copy link
Contributor

@adhityamamallan adhityamamallan commented Oct 30, 2024

Summary

  • Create PrettyJsonSkeleton component that renders a JSON-shaped skeleton
  • Pass isWorkflowRunning as a prop to Workflow Summary JSON view, and use it to render PrettyJsonSkeleton for an in-flight workflow's result
  • Change JSON view colour for better contrast

Test plan

Added unit tests + ran locally.
Screenshot 2024-10-30 at 5 02 42 PM

@@ -6,7 +6,7 @@ import type {
const cssStylesObj = {
jsonViewContainer: (theme) => ({
padding: theme.sizing.scale600,
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.

please correct the tertiaryBackground color in the theme and use it. Keeping both web and design inconsistent would make moving forward much harder

@Assem-Uber Assem-Uber merged commit 662a7f1 into cadence-workflow:release/4.0.0 Oct 31, 2024
3 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.

2 participants