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

Add Status Box Component #192

Merged
merged 4 commits into from
Oct 9, 2023
Merged

Conversation

CannonLock
Copy link
Contributor

No description provided.

@CannonLock
Copy link
Contributor Author

Failure is due to the fact that I built this off of the graph addition then separated it after. Once that gets merged things will work.

@bbockelm bbockelm requested a review from haoming29 October 9, 2023 14:17
Copy link
Contributor

@haoming29 haoming29 left a comment

Choose a reason for hiding this comment

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

LGTM. Left some style/color comments but shouldn't block this PR to be merged. We can address the color coding in a follow-up issue if necessary. Approved.

<Grid item xs={12} lg={4}>
<StatusBox/>
</Grid>
<Grid item xs={12} lg={8}>
<Box sx={{backgroundColor: "#F6F6F6", borderRadius: "1rem"}} p={2}>
Copy link
Contributor

Choose a reason for hiding this comment

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

  • It can be very helpful if we can display the error messages for the the critical and warning status.
  • We might want to have different colors for the different status (critical/warning)
  • The color fill is a bit heavy for the user reading the dashboard for OK and warning status. A colored-border box might be more user friendly?
  • Capitalize the first letter of the status?

Added back deleted import. Sorry about that.
@haoming29 haoming29 merged commit e5a6f00 into PelicanPlatform:main Oct 9, 2023
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.

2 participants