guito 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to Guito are documented in this file. The project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and this changelog is structured around [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
|
|
4
4
|
|
|
5
|
+
## [1.0.4] - 2026-09-18
|
|
6
|
+
|
|
7
|
+
### Added
|
|
8
|
+
|
|
9
|
+
- Compare a staged or unstaged file with its version on another branch from the file's context menu. A searchable picker lists every other branch, and the comparison opens in VS Code's diff tab inside the extension or Guito's own diff dialog otherwise.
|
|
10
|
+
- Collapse or expand every repository panel section at once with the button next to the panel's search field.
|
|
11
|
+
- Choose whether the repository panel opens with all sections expanded through the "Expand repository panel sections" setting, available in the settings dialog and as the VS Code `guito.sidePanelSectionsExpanded` setting; changing it rebuilds an open panel immediately.
|
|
12
|
+
- Click a stash in the repository panel to open its changed files in the commit detail panel, with the selected stash highlighted.
|
|
13
|
+
|
|
5
14
|
## [1.0.3] - 2026-09-17
|
|
6
15
|
|
|
7
16
|
### Fixed
|
package/bin/guito-server.js
CHANGED
|
@@ -235,7 +235,7 @@ const azureErrorMessage = (result) => {
|
|
|
235
235
|
return result.body;
|
|
236
236
|
}
|
|
237
237
|
};
|
|
238
|
-
export async function startGuitoServer({ repositoryPath, uiRoot, host, port = 8080, apiToken, azureDevOpsUrl, prBranchNameTemplate, autoReload, diffViewer, showGraph, showStashes, showTags, showRemoteBranches, issueRegex, issueUrl, allowMerge, fileListView, refListView, searchMode, searchCaseSensitive, azureRequestImpl, avatarFetchImpl, onLog, }) {
|
|
238
|
+
export async function startGuitoServer({ repositoryPath, uiRoot, host, port = 8080, apiToken, azureDevOpsUrl, prBranchNameTemplate, autoReload, diffViewer, showGraph, showStashes, showTags, showRemoteBranches, issueRegex, issueUrl, allowMerge, fileListView, refListView, sidePanelSectionsExpanded, searchMode, searchCaseSensitive, azureRequestImpl, avatarFetchImpl, onLog, }) {
|
|
239
239
|
// Initialize server
|
|
240
240
|
const app = fastify({
|
|
241
241
|
logger: false,
|
|
@@ -583,6 +583,9 @@ export async function startGuitoServer({ repositoryPath, uiRoot, host, port = 80
|
|
|
583
583
|
const fileShowRemoteBranches = typeof file.showRemoteBranches === 'boolean' ? file.showRemoteBranches : undefined;
|
|
584
584
|
const fileFileListView = file.fileListView === 'tree' || file.fileListView === 'flat' ? file.fileListView : undefined;
|
|
585
585
|
const fileRefListView = file.refListView === 'tree' || file.refListView === 'flat' ? file.refListView : undefined;
|
|
586
|
+
const fileSidePanelSectionsExpanded = typeof file.sidePanelSectionsExpanded === 'boolean'
|
|
587
|
+
? file.sidePanelSectionsExpanded
|
|
588
|
+
: undefined;
|
|
586
589
|
const fileSearchMode = file.searchMode === 'filter' || file.searchMode === 'navigate' ? file.searchMode : undefined;
|
|
587
590
|
const fileAllowMerge = typeof file.allowMerge === 'boolean' ? file.allowMerge : undefined;
|
|
588
591
|
const fileSearchCaseSensitive = typeof file.searchCaseSensitive === 'boolean' ? file.searchCaseSensitive : undefined;
|
|
@@ -632,6 +635,9 @@ export async function startGuitoServer({ repositoryPath, uiRoot, host, port = 80
|
|
|
632
635
|
: (fileShowRemoteBranches ?? true),
|
|
633
636
|
fileListView: fileListView ?? fileFileListView ?? 'flat',
|
|
634
637
|
refListView: refListView ?? fileRefListView ?? 'flat',
|
|
638
|
+
sidePanelSectionsExpanded: typeof sidePanelSectionsExpanded === 'boolean'
|
|
639
|
+
? sidePanelSectionsExpanded
|
|
640
|
+
: (fileSidePanelSectionsExpanded ?? true),
|
|
635
641
|
searchMode: searchMode ?? fileSearchMode ?? 'navigate',
|
|
636
642
|
searchCaseSensitive: typeof searchCaseSensitive === 'boolean'
|
|
637
643
|
? searchCaseSensitive
|
|
@@ -1448,6 +1454,9 @@ export async function startGuitoServer({ repositoryPath, uiRoot, host, port = 80
|
|
|
1448
1454
|
if (body.refListView === 'tree' || body.refListView === 'flat') {
|
|
1449
1455
|
settings.refListView = body.refListView;
|
|
1450
1456
|
}
|
|
1457
|
+
if (typeof body.sidePanelSectionsExpanded === 'boolean') {
|
|
1458
|
+
settings.sidePanelSectionsExpanded = body.sidePanelSectionsExpanded;
|
|
1459
|
+
}
|
|
1451
1460
|
if (body.searchMode === 'filter' || body.searchMode === 'navigate') {
|
|
1452
1461
|
settings.searchMode = body.searchMode;
|
|
1453
1462
|
}
|
|
@@ -2877,6 +2886,7 @@ export async function startGuitoServer({ repositoryPath, uiRoot, host, port = 80
|
|
|
2877
2886
|
showGraph = settings.showGraph;
|
|
2878
2887
|
showStashes = settings.showStashes;
|
|
2879
2888
|
fileListView = settings.fileListView;
|
|
2889
|
+
sidePanelSectionsExpanded = settings.sidePanelSectionsExpanded;
|
|
2880
2890
|
searchMode = settings.searchMode;
|
|
2881
2891
|
searchCaseSensitive = settings.searchCaseSensitive;
|
|
2882
2892
|
showTags = settings.showTags;
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
<style>:root{--bg:#1e1e1e;--bg-alt:#232323;--bg-hover:#2a2d2e;--border:#3c3c3c;--text:#cccccc;--text-bright:#e8e8e8;--text-dim:#9d9d9d;--accent:#3794ff;--red:#f14c4c;--mono:ui-monospace, "Cascadia Code", "SF Mono", Menlo, Consolas, monospace}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:13px;color:var(--text);background:var(--bg);overflow:hidden}</style><link rel="stylesheet" href="styles-I7K2YZTW.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-I7K2YZTW.css"></noscript></head>
|
|
10
10
|
<body>
|
|
11
11
|
<app-root></app-root>
|
|
12
|
-
<script src="polyfills-5CFQRCPP.js" type="module"></script><script src="main-
|
|
12
|
+
<script src="polyfills-5CFQRCPP.js" type="module"></script><script src="main-DE53IE7Q.js" type="module"></script></body>
|
|
13
13
|
</html>
|