feat(vcs): reorder Git log columns by dragging headers (#1856)

The Git Log column order was fixed. Column headers can now be dragged to any position, including the commit column, with an insertion line showing where the column lands. It uses pointer events because WebView2 intercepts HTML5 drag events, and the order persists across restarts.

Siblings covered: Esc or losing the window cancels a drag and releases pointer capture, and keyboard column moves skip hidden columns.

Co-authored-by: muutot <[email protected]>
Цей коміт міститься в:
Muuтаmuutot authored and GitHub committed 2026-11-08 22:32:08 +08:00
1 джерело fff2c35181
коміт f04164d7ee
3 files changed
+375 -137

No files matched your search

+11
Переглянути файл
@@ -207,6 +207,17 @@
position: relative;
padding-inline-end: 6px;
cursor: grab;
touch-action: none;
}
.columnHeading.dragSource {
cursor: grabbing;
opacity: 0.6;
}
.columnHeading.dropBefore {
box-shadow: inset 2px 0 0 var(--accent);
}
.columnHeading.dropAfter {
box-shadow: inset -2px 0 0 var(--accent);
}
.columnResize {
position: absolute;