Skip to content

Commit ecd3cba

Browse files
authored
Merge pull request #582 from conwnet/master
release 0.26.0
2 parents 21d1f44 + 3c57ec4 commit ecd3cba

File tree

13 files changed

+60
-72
lines changed

13 files changed

+60
-72
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-20.04]
16-
node-version: [18.x]
16+
node-version: [20.x]
1717

1818
runs-on: ${{ matrix.os }}
1919

.github/workflows/test-wtih-vscode-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
matrix:
1515
os: [ubuntu-20.04]
16-
node-version: [18.16.0]
16+
node-version: [20.16.0]
1717

1818
runs-on: ${{ matrix.os }}
1919

@@ -35,7 +35,7 @@ jobs:
3535
restore-keys: |
3636
${{ runner.os }}-yarn-${{ matrix.node-version }}
3737
38-
- run: sudo apt -y install libkrb5-dev
38+
- run: sudo apt update && sudo apt install -y libkrb5-dev
3939
- run: yarn --frozen-lockfile
4040
- run: yarn build:vscode
4141
- run: yarn yalc && yarn build

api/gitlab-auth-callback/yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,11 @@ brace-expansion@^1.1.7:
348348
concat-map "0.0.1"
349349

350350
braces@^3.0.2:
351-
version "3.0.2"
352-
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.2.tgz#3454e1a462ee8d599e236df336cd9ea4f8afe107"
353-
integrity sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==
351+
version "3.0.3"
352+
resolved "https://registry.yarnpkg.com/braces/-/braces-3.0.3.tgz#490332f40919452272d55a8480adc0c441358789"
353+
integrity sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==
354354
dependencies:
355-
fill-range "^7.0.1"
355+
fill-range "^7.1.1"
356356

357357
cacheable-lookup@^5.0.3:
358358
version "5.0.4"
@@ -649,10 +649,10 @@ file-uri-to-path@1.0.0:
649649
resolved "https://registry.yarnpkg.com/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz#553a7b8446ff6f684359c445f1e37a05dacc33dd"
650650
integrity sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==
651651

652-
fill-range@^7.0.1:
653-
version "7.0.1"
654-
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.0.1.tgz#1919a6a7c75fe38b2c7c77e5198535da9acdda40"
655-
integrity sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==
652+
fill-range@^7.1.1:
653+
version "7.1.1"
654+
resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-7.1.1.tgz#44265d3cac07e3ea7dc247516380643754a05292"
655+
integrity sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==
656656
dependencies:
657657
to-regex-range "^5.0.1"
658658

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"lib": "lib"
88
},
99
"devDependencies": {
10-
"@github1s/vscode-web": "0.20.0",
10+
"@github1s/vscode-web": "0.21.0",
1111
"@typescript-eslint/eslint-plugin": "^5.40.1",
1212
"@typescript-eslint/parser": "^5.40.1",
1313
"chokidar": "^3.5.3",

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h1>You need to enable JavaScript to run this app.</h1>
3535
<% if (devVscode) { %>
3636
<script>require(['vs/code/browser/workbench/workbench'], function () {});</script>
3737
<% } else { %>
38-
<script src="/static-<%= staticHash %>/vscode/vs/workbench/workbench.web.main.nls.js"></script>
38+
<script src="/static-<%= staticHash %>/vscode/nls.messages.js"></script>
3939
<script src="/static-<%= staticHash %>/vscode/vs/workbench/workbench.web.main.js"></script>
4040
<script src="/static-<%= staticHash %>/vscode/vs/code/browser/workbench/workbench.js"></script>
4141
<% } %>

vscode-web/.VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.89.1
1+
1.92.1

vscode-web/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@github1s/vscode-web",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"description": "VS Code web for GitHub1s",
55
"author": "github1s",
66
"license": "MIT",

vscode-web/scripts/.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"vs/code/browser/workbench/workbench.ts": "4d5caa66a9d8d5c862c4ee6a928c4e1cb7cc93fc481dc9c471245229be7323e1",
3-
"vs/workbench/browser/parts/activitybar/activitybarPart.ts": "f1f646360d161b62ac857698cfe4f1e2f63107c86f8100f630c8d704f15049f5",
3+
"vs/workbench/browser/parts/activitybar/activitybarPart.ts": "b07df66ce53deb7b5a27f7cb6ff0f538c9ea501feffd7d2088412b0cd5794d85",
44
"vs/workbench/browser/parts/titlebar/media/titlebarpart.css": "253c6b6b1212d0ca80e1969959d3d09d0c1040f3bea3ad076f2708783bd14544",
5-
"vs/workbench/browser/web.main.ts": "afc8cfaf89611b7c18b6087ad0fb4d5eeec1ef71bd035a8b0f88505af4953496",
5+
"vs/workbench/browser/web.main.ts": "1d2b5be2afca548654bfcfa7e340128e194c35dda0c63fc69dd7d48f8c7d5303",
66
"vs/workbench/contrib/files/browser/editors/fileEditorInput.ts": "86663454cc80d8fb63900ffd88f826ad971071976e54c2b9dfbbcab17bd6dc49",
7-
"vs/workbench/contrib/webview/browser/pre/index.html": "7bcd1298e5cc21a5526e89954c09c225a33a22713f840a7aa172305b517d11d7",
7+
"vs/workbench/contrib/webview/browser/pre/index.html": "1ed907f3e7e0dc14c9e0e45313b7edd5d4f80abb7d26607103ea1807aca0e0ff",
88
"vs/workbench/services/extensionManagement/browser/builtinExtensionsScannerService.ts": "8cbb23b36f1e35436c0cd53b10f6ba2d3a51c92cee297d1fd956b9dcd6e33b1a",
99
"vs/workbench/services/label/common/labelService.ts": "73237cce0f9496151ea8ae5079676bbdfa15ce49de9b05621d39fcd04e9c1f0d",
10-
"vs/workbench/services/textfile/browser/textFileService.ts": "9d0831d6f49ad0ac8482a941e1b3b36b58e7a9db2fedc6e66ba94499719617e9"
10+
"vs/workbench/services/textfile/browser/textFileService.ts": "ce29c4161401a02203832bd95b673012c9a183b715e3d30b19fdb03a312df34e"
1111
}

vscode-web/src/vs/workbench/browser/parts/activitybar/activitybarPart.ts

Lines changed: 12 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -389,10 +389,9 @@ export class ActivityBarCompositeBar extends PaneCompositeBar {
389389
}
390390

391391
getActivityBarContextMenuActions(): IAction[] {
392-
const activityBarPositionMenu = this.menuService.createMenu(MenuId.ActivityBarPositionMenu, this.contextKeyService);
392+
const activityBarPositionMenu = this.menuService.getMenuActions(MenuId.ActivityBarPositionMenu, this.contextKeyService, { shouldForwardArgs: true, renderShortTitle: true });
393393
const positionActions: IAction[] = [];
394-
createAndFillInContextMenuActions(activityBarPositionMenu, { shouldForwardArgs: true, renderShortTitle: true }, { primary: [], secondary: positionActions });
395-
activityBarPositionMenu.dispose();
394+
createAndFillInContextMenuActions(activityBarPositionMenu, { primary: [], secondary: positionActions });
396395
return [
397396
new SubmenuAction('workbench.action.panel.position', localize('activity bar position', "Activity Bar Position"), positionActions),
398397
toAction({ id: ToggleSidebarPositionAction.ID, label: ToggleSidebarPositionAction.getLabel(this.layoutService), run: () => this.instantiationService.invokeFunction(accessor => new ToggleSidebarPositionAction().run(accessor)) })
@@ -640,42 +639,24 @@ registerThemingParticipant((theme, collector) => {
640639
const outline = theme.getColor(activeContrastBorder);
641640
if (outline) {
642641
collector.addRule(`
643-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:before {
644-
content: "";
645-
position: absolute;
646-
top: 8px;
647-
left: 8px;
648-
height: 32px;
649-
width: 32px;
650-
z-index: 1;
642+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item .action-label::before{
643+
padding: 6px;
651644
}
652645
653-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.profile-activity-item:before {
654-
top: -6px;
646+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.active .action-label::before,
647+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.active:hover .action-label::before,
648+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked .action-label::before,
649+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked:hover .action-label::before {
650+
outline: 1px solid ${outline};
655651
}
656652
657-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.active:before,
658-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.active:hover:before,
659-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked:before,
660-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked:hover:before {
661-
outline: 1px solid;
662-
}
663-
664-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:hover:before {
665-
outline: 1px dashed;
653+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:hover .action-label::before {
654+
outline: 1px dashed ${outline};
666655
}
667656
668657
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:focus .active-item-indicator:before {
669658
border-left-color: ${outline};
670659
}
671-
672-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.active:before,
673-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.active:hover:before,
674-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked:before,
675-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item.checked:hover:before,
676-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:hover:before {
677-
outline-color: ${outline};
678-
}
679660
`);
680661
}
681662

@@ -684,7 +665,7 @@ registerThemingParticipant((theme, collector) => {
684665
const focusBorderColor = theme.getColor(focusBorder);
685666
if (focusBorderColor) {
686667
collector.addRule(`
687-
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:focus .active-item-indicator:before {
668+
.monaco-workbench .activitybar > .content :not(.monaco-menu) > .monaco-action-bar .action-item:focus .active-item-indicator::before {
688669
border-left-color: ${focusBorderColor};
689670
}
690671
`);

vscode-web/src/vs/workbench/browser/web.main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ export class BrowserMain extends Disposable {
177177

178178
let logger: DelayedLogChannel | undefined = undefined;
179179

180-
return <IWorkbench>{
180+
return {
181181
commands: {
182182
executeCommand: (command, ...args) => commandService.executeCommand(command, ...args)
183183
},
@@ -248,7 +248,7 @@ export class BrowserMain extends Disposable {
248248
}
249249
},
250250
shutdown: () => lifecycleService.shutdown()
251-
};
251+
} satisfies IWorkbench;
252252
});
253253
}
254254

0 commit comments

Comments
 (0)