Skip to content

Commit 0b19816

Browse files
Store lastInstalledExtensionVersion in the global storage so we only show what's new once (#971)
## Changes * We were storing `lastInstalledExtensionVersion` in workspace state storage, which is causing the extension to show the `what's new` popup for every workspace once. We should store it in the global storage instead. **Note**: Users will see a 1 time popup after this update before the versions are updated in the global location correctly. ## Tests * manually
1 parent f309b5e commit 0b19816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/databricks-vscode/src/vscode-objs/StateStorage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const Keys = {
7070
}),
7171

7272
"databricks.lastInstalledExtensionVersion": withType<string>()({
73-
location: "workspace",
73+
location: "global",
7474
defaultValue: "0.0.0",
7575
}),
7676
};

0 commit comments

Comments
 (0)