Skip to content

Show clone button for activity on project page

Samantha Ming requested to merge 223003-show-clone-for-activity into master

Issue > #223003 (closed)

MR Changes
Part 1 > !33023 (merged) Update Readme Page
👉 Part 2 > (current) Update Activity Page

What does this MR do?

Display the clone button on project for non-default Actvitity preference

Testing Case

Setup

To set up how the project overview will look like, we need to do the following:

Go to Profile (User Settings) > Preferences > Under Behaviour >

Activity

Clone button is displayed

  1. ...Project overview content dropdown > Select "Activity"
  2. Go to the Project page
  • You will see the "Clone" button

Clone button is hidden when the repository is disabled

  1. Go to Settings > General > Expand "Visibility, project features, permissions"
  2. Disable Repository



  • "Clone" button is NOT displayed

Clone dropdown is displayed

  1. Click on "Clone" button
  • Clone dropdown is shown

Clone dropdown is NOT displayed in Activity Page

  1. Go to Project overview > Activity
  • You will see not see the "Clone" button

image

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Closes #223003 (closed)

Edited by Samantha Ming

Merge request reports