Restyle compare revision and add repo dropdown [RUN ALL RSPEC] [RUN AS-IF-FOSS]

Merged Samantha Ming requested to merge 14615-add-compare-repo-dropdown into master

What does this MR do?

MR Changes
!52547 (merged) Remove compare switcher
!52567 (merged) Convert branch selection in Vue
👉 current Add repository dropdown
!53264 (merged) Update docs
!51985 (merged) BE
Mobile Tablet Desktop
image image image

Testing Case

  1. Navigate to Repository > Compare
  • When user select another repository, it will fire another request to fetch the corresponding branches of that selection

send-refs-request-when-new-repo-selected

Screenshots (strongly suggested)

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

Related to #14615 (closed)

Edited by Samantha Ming