Loading
Add budget caps scaffold: FF, routes, controllers, views, JS helpers
What does this MR do and why?
Introduces the scaffold for the per-user credit caps UI under the GitLab credits dashboard:
- Feature flag
credit_caps_ui(namespace-scoped, default off, milestone 19.4) - Routes:
admin/gitlab_credits_dashboard/credit_capsandgroups/settings/gitlab_credits_dashboard/credit_caps - Controllers and HAML views (empty mount points for the Vue app)
- JS route path helpers (
adminCreditCapsPath,groupSettingsCreditCapsPath)
The pages render but show no content until the Vue frontend MR lands.
References
Screenshots or screen recordings
| SM | SaaS |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable FF in
rails c:Feature.enable(:credit_caps_ui) - Open page
- Ensure that the page has the relevant html placeholders (empty divs)
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

