SCM - Source Control Graph view (#226250)

* Added the new view

* Add support for getting N number of commits

* Added view title actions

* More work to enable view/repository actions

* Expand the view by default, and always show the last N commits

* Add context menu actions

* Improve actions

* Basic infinite scrolling implemented

* Better implementation using --skip instead of a cursor

* Do not refresh graph when pressing Refresh

* Refactor load more/caching

* Rename the view

* Add support for the find widget
This commit is contained in:
Ladislau Szomoru
2024-08-22 15:54:22 +02:00
committed by GitHub
parent c6cd724fbc
commit 557228e262
19 changed files with 939 additions and 29 deletions

View File

@@ -19,6 +19,7 @@
"contribSourceControlHistoryItemChangesMenu",
"contribSourceControlHistoryItemGroupMenu",
"contribSourceControlHistoryItemMenu",
"contribSourceControlHistoryTitleMenu",
"contribSourceControlInputBoxMenu",
"contribSourceControlTitleMenu",
"contribViewsWelcome",
@@ -1935,6 +1936,28 @@
"group": "1_modification@3"
}
],
"scm/history/title": [
{
"command": "git.fetchRef",
"group": "navigation@1",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
},
{
"command": "git.pullRef",
"group": "navigation@2",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote"
},
{
"command": "git.pushRef",
"when": "scmProvider == git && scmHistoryItemGroupHasRemote",
"group": "navigation@3"
},
{
"command": "git.publish",
"when": "scmProvider == git && !scmHistoryItemGroupHasRemote",
"group": "navigation@3"
}
],
"scm/historyItemChanges/title": [
{
"command": "git.fetchRef",