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

feat: update TenantOverview design #527

Merged
merged 9 commits into from
Sep 13, 2023
Merged

feat: update TenantOverview design #527

merged 9 commits into from
Sep 13, 2023

Conversation

krosy1337
Copy link
Contributor

image

@krosy1337 krosy1337 marked this pull request as ready for review August 29, 2023 14:54
@krosy1337 krosy1337 changed the title Add four cards feat: update TenantOverview design Aug 29, 2023
@krosy1337 krosy1337 force-pushed the add-four-cards branch 5 times, most recently from aaa156c to a2de177 Compare September 4, 2023 06:50
src/components/CircularProgressBar/CircularProgressBar.tsx Outdated Show resolved Hide resolved
src/components/DiagnosticCard/DiagnosticCard.scss Outdated Show resolved Hide resolved
src/components/DiagnosticCard/DiagnosticCard.tsx Outdated Show resolved Hide resolved

transition: color 0.1s;

&_selected {
Copy link
Contributor

Choose a reason for hiding this comment

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

I suggest to keep all styles related with selected state in one place, in this file. Because you select a card in whole, not it's components. So lets pass not selected to CircularProgressBar but className, which styles will be defined here.

@@ -0,0 +1,6 @@
.metrics-cards {
display: flex;
Copy link
Contributor

Choose a reason for hiding this comment

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

Don't you want to wrap cards to another line if container's width is not enough?

src/utils/formatCPU/formatCPU.ts Outdated Show resolved Hide resolved
src/types/api/tenant.ts Outdated Show resolved Hide resolved
src/containers/UserSettings/i18n/en.json Outdated Show resolved Hide resolved
src/utils/index.js Outdated Show resolved Hide resolved
src/components/DiagnosticCard/DiagnosticCard.tsx Outdated Show resolved Hide resolved
Raubzeug
Raubzeug previously approved these changes Sep 12, 2023
artemmufazalov
artemmufazalov previously approved these changes Sep 12, 2023
@krosy1337 krosy1337 merged commit 8a752e0 into main Sep 13, 2023
4 checks passed
@krosy1337 krosy1337 deleted the add-four-cards branch September 13, 2023 10:38
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