Skip to content

Adding Secure Files Metadata Modal to settings page

Darby Frey requested to merge secure-files-ui-metadata into master

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:

image

When selected, a basic modal is displayed with the file metadata, for example:

image

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

  1. 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, and gitlab/spec/fixtures/ci_secure_files/sample.mobileprovision
  1. 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.

Edited by Darby Frey

Merge request reports