Skip to content

Add ability to redact text

Jacques Erasmus requested to merge 450701-redact-text into master

What does this MR do and why?

Adds the UI for redacting text via repository settings.

this MR does not contain the backend integration. Changes are behind the rewrite_history_ui feature flag

MR breakdown

description MR
Add ability to remove blobs !153824 (merged)
Add ability to redact text 👈 this MR

TODO

  • Add new components + related tests.
  • Compare the UI text with the mockups.
  • Add ***REMOVED*** to both Settings page and drawer.
  • Add screenshots.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

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

Before After
Screenshot_2024-05-29_at_16.22.29 Screenshot_2024-05-29_at_16.36.13

Screen_Recording_2024-05-29_at_16.37.04.2024-05-29_16_39_16

How to set up and validate locally

  1. Enable the rewrite_history_ui feature flag.
  2. Apply the backend changes onto this branch:
    • curl https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152522.diff | git apply
  3. Navigate to Project > Setting > Repository > Repository maintenance
  4. Click on Redact text
  5. The redact text drawer should open

Related to #450701

Edited by Jacques Erasmus

Merge request reports