feat(vcs): clone from the repositories of your GitHub account (#1125)

The Clone Repository dialog lists GitHub next to Repository URL: the repositories of the account gh is signed in to, searchable; picking one fills URL and directory, double-click or Enter clones. Clone URL follows gh's git_protocol. Clone sources are a workbench contribution (registerCloneSource); gh_account_repos needs no project.

Closes #750
Цей коміт міститься в:
l0ng-ai authored and GitHub committed 2026-11-04 08:40:06 +08:00
1 джерело 9988ce4113
коміт a3bbbf90a4
16 files changed
+668 -55

No files matched your search

+21
Переглянути файл
@@ -155,3 +155,24 @@
padding-left: 98px;
}
}
.sidebar .sourceItem {
width: 100%;
border: 0;
background: none;
font: inherit;
text-align: left;
cursor: default;
}
.sidebar .sourceItem[data-selected] {
background: var(--bg-tree-selected);
}
.sidebar .sourceItem:focus-visible {
outline: 2px solid var(--focus-ring);
outline-offset: -2px;
}
.sourcePane {
flex: 1;
min-height: 0;
display: flex;
flex-direction: column;
}