-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Expose local storage through access control facility #3299
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3299 +/- ##
=======================================
Coverage 92.99% 93.00%
=======================================
Files 116 116
Lines 12069 12114 +45
Branches 2738 2748 +10
=======================================
+ Hits 11224 11267 +43
- Misses 843 845 +2
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Trae Yelovich <[email protected]>
1ef63b5
to
52b421f
Compare
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
📅 Suggested merge-by date: 11/22/2024 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for working on this @traeok
I do see that it wiped my zowe history which may need investigating, we wouldn't want to have that happen to customers. I didn't see the pop up described for the sample, I received the migration pop up with restart button.
not sure if someone else can replicate the issue I had seen or if just with me.
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Thanks @JillieBeanSim for catching this, I realized that we need to use a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TL;DR: LGTM! 😋
Sorry for the long text below 😅
Question, should we merge the local-storage-sample
branch into zowe-client-samples # main?
Also, should there be an activationEvent (maybe onStartupFinished
)? Without it, I didn't get any notifications since the local-storage sample extension wouldn't activate 😋
Here is what I got when I added the activationEvent
And as expected, the notifications are in reverse order 😋
It seems like could benefit from running prettier on this branch 😋
modified: packages/zowe-explorer/__tests__/__unit__/trees/dataset/DatasetFSProvider.unit.test.ts
modified: packages/zowe-explorer/l10n/bundle.l10n.json
modified: packages/zowe-explorer/l10n/poeditor.json
For those testing, please make sure that your .npmrc isn't pointing the @zowe
scoped registry to something other than the public NPM registry 😅
npm error code E404
npm error 404 Not Found - GET https://zowe.jfrog.io/zowe/api/npm/npm-local-release/@zowe%2fzowe-explorer-api
npm error 404
npm error 404 '@zowe/zowe-explorer-api@^3.0.0' is not in this registry.
npm error 404
npm error 404 Note that you can also install from a
npm error 404 tarball, folder, http url, or git url.
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Trae Yelovich <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
Proposed changes
Resolves #3180
Dev doc: https://github.com/zowe/zowe-explorer-vscode/wiki/Local-Storage
How to test
local-storage-sample
branch on https://github.com/zowe/zowe-client-samplescd vscode-extension-samples/local-storage-sample && npm install && npm run compile
zowe.ds.history
(a readable key)Release Notes
Milestone: 3.1.0
Changelog:
Types of changes
ZoweLocalStorage
to save in a workspaceChecklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment