Adding Secure Files Metadata Modal to settings page
What does this MR do and why?
This MR adds a metadata modal to the Secure Files UI in the CI/CD settings page. This is a simplified first iteration of the page proposed here: !100648 (closed)
For supported file types, an additional button is added to the entry in the table, for example:
When selected, a basic modal is displayed with the file metadata, for example:
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
How to set up and validate locally
- Upload sample files in Secure Files. In the project settings section:
- On the left sidebar, select Settings > CI/CD.
- In the Secure Files section, select Expand.
- Select Upload File.
- Browse to the gitlab project and upload files in
gitlab/spec/fixtures/ci_secure_files/sample.cer
,gitlab/spec/fixtures/ci_secure_files/sample.p12
, andgitlab/spec/fixtures/ci_secure_files/sample.mobileprovision
- Reload the page, and expand the Secure Files section. The modal button should appear in the list next to each supported file.
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 Darby Frey