Skip to content

Commit 308f687

Browse files
authored
Gate WSFS and docs panels on extension activation (#1909)
## Changes Both views used `!databricks.context.remoteMode` which is always true on startup, causing VSCode to render them before data providers were registered and leak "There is no data provider registered that can provide view data" to users. ## Tests Manually
1 parent 79ef3eb commit 308f687

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/databricks-vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@
532532
{
533533
"id": "workspaceFsView",
534534
"name": "Workspace file system",
535-
"when": "!databricks.context.remoteMode"
535+
"when": "databricks.context.activated && !databricks.context.remoteMode"
536536
},
537537
{
538538
"id": "unityCatalogView",
@@ -542,7 +542,7 @@
542542
{
543543
"id": "databricksDocsView",
544544
"name": "Documentation",
545-
"when": "!databricks.context.remoteMode"
545+
"when": "databricks.context.activated && !databricks.context.remoteMode"
546546
}
547547
]
548548
},

0 commit comments

Comments
 (0)