Show pre-enforcement storage banner on project page
What does this MR do and why?
Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/350632
This enables the project pages to show the pre-enforcement storage banner as the requirement in the issue states
Screenshots or screen recordings
No UI changes at this point, so just showing the banner as is:
How to set up and validate locally
- To make the banner appear:
- Either enable this FF:
Feature.enable(:namespace_storage_limit_bypass_date_check)
- Or replace
nil
withDate.current
in thestorage_enforcement_date
method
- Either enable this FF:
- Go to a free group's project page
- Make sure the banner in the screenshot is showing
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.
Edited by Sheldon Led