Skip to content
Snippets Groups Projects
Commit 2c1d40f4 authored by Christian ZHENG's avatar Christian ZHENG
Browse files

fix(view): show Getting Started button by default + fix split screen on briefing opening

(cherry picked from commit 898ae765)
parent 93e1b7d8
No related branches found
No related tags found
3 merge requests!14feat: added mounted, .bashrc, .zshrc, added tests, added keycloak tests,!8feat(extension): login, open in devcontainer, automaticly save code, open briefing, publish extension,!3feat: devcontainer support
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
{ {
"id": "help", "id": "help",
"name": "Help", "name": "Help",
"visibility": "collapsed" "visibility": "visible"
} }
] ]
}, },
......
...@@ -90,17 +90,12 @@ export abstract class WebviewBase implements Disposable { ...@@ -90,17 +90,12 @@ export abstract class WebviewBase implements Disposable {
async show(column: ViewColumn = ViewColumn.Beside): Promise<void> { async show(column: ViewColumn = ViewColumn.Beside): Promise<void> {
if (this._panel == null) { if (this._panel == null) {
this._panel = window.createWebviewPanel( this._panel = window.createWebviewPanel(this.id, this.title, ViewColumn.Active, {
this.id,
this.title,
{ viewColumn: column, preserveFocus: false },
{
retainContextWhenHidden: true, retainContextWhenHidden: true,
enableFindWidget: true, enableFindWidget: true,
enableCommandUris: true, enableCommandUris: true,
enableScripts: true, enableScripts: true,
}, });
);
this._disposablePanel = Disposable.from( this._disposablePanel = Disposable.from(
this._panel, this._panel,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment