feat(vcs): redesign the Clone Repository dialog and support shallow clones (#866)

Clone Repository gets IntelliJ's layout: a source list on the left, a version-control selector, URL history, a directory picker, and a shallow-clone option (history truncated to N commits, git clone --depth N). Entries for hosting platforms without backend support were removed.

Co-authored-by: whyareyouserious <114078441+whyareyouserious@users.noreply.github.com>
This commit is contained in:
whyareyouserious
2026-11-03 23:21:53 +08:00
committed by GitHub
parent f5e12238bb
commit 09402e3e95
9 changed files with 424 additions and 84 deletions
-21
View File
@@ -125,27 +125,6 @@
flex-direction: column;
padding: 0 14px 14px;
}
.cloneDirRow {
display: flex;
align-items: center;
gap: 6px;
}
.cloneDirInput {
flex: 1;
min-width: 0;
}
.cloneProgress {
display: flex;
flex-direction: column;
gap: 6px;
padding-top: 4px;
min-width: 0;
}
.cloneProgress > span {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.todoList {
margin: 8px 0 0;
padding-left: 18px;