Skip to content

Add compare button to tree view page

Sam Figueroa requested to merge sf/feature/add_compare_button_on_tree_view into master

What does this MR do and why?

Add a compare button to the tree view page when not on the root ref.

This MR adds a compare button to the tree view page when not on the root ref. This allows users to easily compare the current branch to another branch or commit, comparable to the branches/index view's more-action "mochi"-menu

image

Screenshots or screen recordings

Before After
Screenshot_2023-09-20_at_17.24.00 2023-09-20_compare_button_on_tree_view

How to set up and validate locally

  1. Create a new branch on your project
  2. Go to Code -> Branches
  3. Click your branch
  4. Verify that the compare button is visible on the tree view page
  5. View the tree view for the root branch (typically main or master)
  6. Verify no compare button is visible

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.


This description was generated for revision 2898d848 using AI

Merge request reports