[go: up one dir, main page]

Add usage billing dashboard API fetching

What does this MR do and why?

Adds API calling to Usage Billing Dashboard app, with loading and error state.

When error occurs we fallback to mock data, that is a placeholder until we have proper BE.

Adds Storybook stories for Commitment, No-commitment, loading and error states.

References

https://gitlab.com/gitlab-org/gitlab/-/issues/566202+

Screenshots or screen recordings

State UI
Loaded image
Loading image
Error image

How to set up and validate locally

To test it on GDK:

To test on storybook:

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Kos Palchyk

Merge request reports

Loading