Skip to content

Updates CLI messages for namespace storage limits

Vijay Hawoldar requested to merge vij-update-cli-messages into master

What does this MR do and why?

This MR updates CLI messages for namespace storage limits to include updated/new URLs to our docs, namely:

  • Updating the usage quotas anchor from #manage-your-storage-usage to #manage-storage-usage
  • Adds some additional info URLs to the message when a git push would take a customer over their limit (scenario 2 below)

The messages are all different and are displayed in various scenarios (screenshots below):

  1. git push to a project in a namespace that is approaching their storage limit
  2. git push to a project that would take it over their storage limit
  3. git push to a project that is already over their storage limit

These messages are all behind various application settings and feature flags, which are currently disabled, hence no changelog.

Refs https://gitlab.com/gitlab-org/gitlab/-/issues/432506

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Scenario Before After
1 threshold Screenshot_2023-11-22_at_12.31.52
2 new-changes Screenshot_2023-11-22_at_12.34.44
3 locked Screenshot_2023-11-22_at_12.37.58

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Vijay Hawoldar

Merge request reports