Add statistics card component with tests
What does this MR do and why?
It adds StatisticsCard
component with its tests and storybook file. The component will be used in usage quotas (storage, pipelines, and seats).
MR | status |
---|---|
!80261 (merged) Add statistics card component |
|
!79525 (merged) Use StatisticsBlock in usage_quota/storage |
|
Screenshots or screen recordings
Screenshots from storybook
example 1 | example 2 |
---|---|
Screenshots from example usage (in upcoming MR !79525 (merged))
before | after |
---|---|
How to set up and validate locally
yarn storybook:start
- visit http://localhost:9002/?path=/story/usage-quotas-components-statistics-card--default
- visit http://localhost:9002/?path=/story/usage-quotas-components-statistics-card--with-units
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #350646 (closed)
Edited by Ammar Alakkad