Skip to content

Commit

Permalink
Store lastInstalledExtensionVersion in the global storage so we onl…
Browse files Browse the repository at this point in the history
…y 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
  • Loading branch information
kartikgupta-db authored Dec 12, 2023
1 parent f309b5e commit 0b19816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/databricks-vscode/src/vscode-objs/StateStorage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const Keys = {
}),

"databricks.lastInstalledExtensionVersion": withType<string>()({
location: "workspace",
location: "global",
defaultValue: "0.0.0",
}),
};
Expand Down

0 comments on commit 0b19816

Please sign in to comment.