refactor(git): the repository picker joins the graph toolbar beside the branch filter

Move the multi-repo picker from its own band above Changes to the head of
the commit-graph toolbar, ahead of the branch filter - repository first,
filter second, one scope row, and one less row of vertical space. The
picker rides the foldable graph section, so the dots -> Repository submenu
returns as the always-reachable fallback while the graph is folded; its
submenu labels now carry the same disambiguation labels as the picker
options.
This commit is contained in:
iasi authored and Menghuan1918 committed 2026-11-16 00:34:01 +08:00
1 parent 3590ec9c53
commit 54fa7a56ef
8 files changed
+61 -60

No files matched your search

+4
View File
@@ -1,6 +1,10 @@
.root { display: flex; flex: 1; flex-direction: column; min-height: 0; min-width: 0; font: var(--dsw-font-xxs-12); color: var(--dsw-alias-label-primary); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 6px 12px; }
.select { flex: 1; min-width: 0; max-width: 100%; height: 28px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 3px; background: var(--dsw-alias-bg-base); color: var(--dsw-alias-label-primary); font: inherit; }
/* The multi-repo picker slots in ahead of the branch filter so the toolbar
reads as one scope row — root first, then its history filter. The slot
flexes like .select, so both boxes share the row instead of stacking. */
.repoPick { flex: 1; min-width: 0; display: flex; }
.hint { color: var(--dsw-alias-label-secondary); font: var(--dsw-font-xxxs-11); }
.scroll { flex: 1; min-height: 0; overflow: auto; }
/* A commit row is ONE 28px line — rail, ref pills, subject (the GitLens-style