Introduce wallet agnostic view behind a feature flag
What does this MR do and why?
This creates a new feature flag to switch the GitLab Credits Dashboard view to a new one that we'll develop in https://gitlab.com/groups/gitlab-org/-/work_items/21464
References
- Epic: https://gitlab.com/groups/gitlab-org/-/work_items/21464+
- Issue: https://gitlab.com/gitlab-org/gitlab/-/work_items/594747+
Screenshots or screen recordings
For Group (SaaS)
| FF off | FF on |
|---|---|
![]() |
![]() |
For Instance (SM)
| FF off | FF on |
|---|---|
![]() |
![]() |
How to set up and validate locally
Turn on/off the wallet_agnostic_credits_dashboard FF: https://gdk.test:3443/rails/features/
- For Group (SaaS)
- Make sure you're simulating SaaS
- Have a paid group
- Navigate to Group > Settings > GitLab Credits:
https://gdk.test:3443/groups/<your-group>/-/settings/gitlab_credits_dashboard - Ensure it behaves like the screenshots
- For Instance (SM)
- Make sure you're NOT simulating SaaS
- Have a license applied to your instance
- Navigate to Admin > GitLab Credits: https://gdk.test:3443/admin/gitlab_credits_dashboard
- Ensure it behaves like the screenshots
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 Sheldon Led



