Use commit changes modal for upload/replace blob

What does this MR do and why?

Use commit changes modal for upload/replace blob

References

Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.

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

Note: there are quite a few flows to include both before and after screenshots so these are the changes on this branch.

user can push to the branch

user can NOT push to the branch

user can NOT push to the repo

How to set up:

Make current branch a protected branch and make sure user cannot push to it

How to set up:

Log in as a user that does not have permission to push (e.g. guest user)

Replace blob

How to set up:

  • On the left sidebar, select Search or go to and find your project.
  • Go to the file you want to delete.
  • Select Replace.

replace-branch.mov

replace-noBranch.mov

Screen Recording 2024-11-29 at 9.55.12 AM.mov

Upload from tree header

How to set up:

  • On the left sidebar, select Search or go to and find your project.
  • Select the plus icon () > Upload file.

tree-header-upload-branch.mov

tree-header-upload-noBranch.mov

Screen Recording 2024-11-29 at 9.59.04 AM.mov

Upload from breadcrumbs

How to set up:

  • On the left sidebar, select Search or go to and find your project.
  • Go to the directory where you want to upload the file.
  • Select the plus icon () > Upload file.

breadcrumbs-upload-branch.mov

Screen Recording 2024-11-28 at 2.37.58 PM.mov

Screen Recording 2024-11-29 at 10.00.15 AM.mov

How to set up and validate locally

See screenshot sections above ⬆️

Related to #479249 (closed)

Edited by Chaoyue Zhao

Merge request reports

Loading