-
Notifications
You must be signed in to change notification settings - Fork 93
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
Update profile watchers and utilities to use Zowe SDK enhancements #3296
Conversation
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3296 +/- ##
==========================================
- Coverage 92.99% 92.99% -0.01%
==========================================
Files 116 116
Lines 12069 12044 -25
Branches 2738 2760 +22
==========================================
- Hits 11224 11200 -24
+ Misses 843 842 -1
Partials 2 2 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Timothy Johnson <[email protected]>
c208bf5
to
bb34d8e
Compare
📅 Suggested merge-by date: 11/28/2024 |
Signed-off-by: Timothy Johnson <[email protected]>
Signed-off-by: Fernando Rijo Cedeno <[email protected]>
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.
changes make sense to me 😋
will approve after testing! 😋
I know some of these lint issues weren't introduced by this PR.
However, if it's too much trouble, could we address them here?
https://github.com/zowe/zowe-explorer-vscode/actions/runs/11855312035/job/33039267040?pr=3296#step:6:129
Signed-off-by: Timothy Johnson <[email protected]>
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! 😋
The changes make the behavior a lot better since we don't refresh ZE as many times now, but I'm wondering if we are refreshing it too little now 😋
I'll like to discuss a few things before approving though.
ZoweLogger.info(vscode.l10n.t("Team config file created, refreshing Zowe Explorer.")); | ||
void SharedActions.refreshAll(); | ||
ZoweExplorerApiRegister.getInstance().onProfilesUpdateEmitter.fire(Validation.EventType.CREATE); | ||
}, 100) // eslint-disable-line no-magic-numbers |
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.
Should we make the delay
optional and default it to 100?
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.
One more thing, and sorry for being picky.
There are changed to l10n files coming out of the prepublish script
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Signed-off-by: Timothy Johnson <[email protected]>
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.
LGTM! 😋
Thanks for addressing my dumb questions 😅
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.
LGTM! thanks @t1m0thyj
Signed-off-by: Billie Simmons <[email protected]>
2a4bf53
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 Timothy for the updates and refactoring - I had a question about testing SharedUtils.debounce
, but I tested the config watcher and everything LGTM
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.
Made some comments on a changelog
@@ -6,7 +6,7 @@ All notable changes to the "zowe-explorer-api" extension will be documented in t | |||
|
|||
### New features and enhancements | |||
|
|||
- Update Zowe SDKs to `8.2.0` to get the latest enhancements from Imperative. | |||
- Update Zowe SDKs to `8.8.2` to get the latest enhancements from Imperative. |
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.
Is there an issue or PR link we could provide here?
@@ -27,7 +27,9 @@ All notable changes to the "vscode-extension-for-zowe" extension will be documen | |||
- Fixed an issue where opening a PDS member after renaming an expanded PDS resulted in an error. [#3314](https://github.com/zowe/zowe-explorer-vscode/issues/3314) | |||
- Fixed issue where users were not prompted to enter credentials if a 401 error was encountered when opening files, data sets or spools in the editor. [#3197](https://github.com/zowe/zowe-explorer-vscode/issues/3197) | |||
- Fixed issue where profile credential updates or token changes were not reflected within the filesystem. [#3289](https://github.com/zowe/zowe-explorer-vscode/issues/3289) | |||
- Fixed issue to update the success message when changing authentication from token to basic through the 'Change Authentication' option. | |||
- Fixed issue to update the success message when changing authentication from token to basic through the 'Change Authentication' option. [#3316](https://github.com/zowe/zowe-explorer-vscode/pull/3316) | |||
- Fixed an issue where editing a team config file or updating credentials in OS vault could trigger multiple events for a single action. [#3296](https://github.com/zowe/zowe-explorer-vscode/pull/3296) |
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.
- Please write out "config"
- Would it be appropriate to add an article here?: " ... updating credentials in the OS vault ... "
- Should we explain what type of "vault" we're talking about?: " ... the OS credentials/security/kitten vault ..."
Proposed changes
Release Notes
Milestone: 3.1.0
Changelog:
8.8.2
for technical currency.Types of changes
Checklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment
Further comments