Add usage quota & feature limitation banner to personal projects
What does this MR do and why?
Adds a banner message to the Project › Settings › Usage Quotas page within personal namespace projects. As seen here:
Note: We do not need a changelog for this change as it is all behind a feature flag that is off by default.
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
- Start in SaaS mode
- Turn on the feature flag:
Feature.enable(:free_user_cap)
- Sign in as a user or create a new account
- Create a personal project (i.e. one attached to the user’s namespace)
- Navigate to the project’s Settings › Usage Quotas page
- Observe the banner
- If you like, you can make a second personal project and see that the banner shows up on its Usage Quotas page, too
- Also, if you like, you can create a project within a group and notice that the banner does not show up on its Usage Quotas page
- Dismiss the banner and refresh the page – it doesn’t come back
- If you did step
7
, you can refresh the other personal project’s Usage Quotas page too – the banner should not be shown again
- If you did step
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 #362258
Edited by Dallas Reedy