stable

Clone or download

Read-only

Preselect the current ref

Part of story #10414: have a branch/tag selector If current ref is a branch or a tag, then corresponding dropdown menu entry is marked as selected. Change-Id: I400125ef2318ed13125546757f4400a539a9615b

Modified Files

Name
M plugins/git/include/Git/Repository/View/FilesHeaderPresenter.php +11 −2 Go to diff View file
M plugins/git/include/Git/Repository/View/FilesHeaderPresenterBuilder.php +62 −8 Go to diff View file
M plugins/git/phpunit/Git/Repository/View/FilesHeaderPresenterBuilderTest.php +7 −0 Go to diff View file
M plugins/git/templates/repository/files/header.mustache +2 −0 Go to diff View file
M plugins/git/www/scripts/repository/branch-tag-selector/src/components/App.vue +7 −1 Go to diff View file
M plugins/git/www/scripts/repository/branch-tag-selector/src/components/BranchesSection.vue +8 −2 Go to diff View file
M plugins/git/www/scripts/repository/branch-tag-selector/src/components/TagsSection.vue +8 −2 Go to diff View file
M plugins/git/www/scripts/repository/branch-tag-selector/src/index.js +5 −1 Go to diff View file