-
Notifications
You must be signed in to change notification settings - Fork 94
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
fix: Move v1 conversion prompt into initialization #3246
Conversation
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
📅 Suggested merge-by date: 10/30/2024 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3246 +/- ##
==========================================
- Coverage 93.02% 93.02% -0.01%
==========================================
Files 113 113
Lines 11711 11706 -5
Branches 2638 2521 -117
==========================================
- Hits 10894 10889 -5
Misses 815 815
Partials 2 2 ☔ View full report in Codecov by Sentry. |
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com>
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 fix @traeok
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.
Suggesting minor edits to the changelog. Thank you @traeok
Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com>
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.
Seeing an issue when testing migration in a VM, not sure if this behavior is expected:
- Have environment with V1 profiles
- Install Zowe Explorer V1 and verify that profile shows in trees
- Install Zowe Explorer V3 (built from this branch)
- In VS Code notification, select "Restart Extensions"
- In ZE modal dialog, select "Create New"
- Notice that new config is created but DS and Jobs trees failed to load
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 @traeok! Just needed to reset VS Code in my VM since it had settings left over from a previous V3 migration test 😋
* fix: Move v1 conversion prompt into initialization Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update ZE changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: fix failing tests, move test cases & fn call Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: move migration check before creating profiles instance Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update changelog and l10n Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: check for return values in v1ProfileOptions Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * run package Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * chore: address changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com>
* Improve process to build l10n bundle without comments (#3191) Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * Port 3.0.1 missing release changes to main (#3231) * Fix 401 error when opening PDS members after cred change (#3157) * Temporarily disable ON_VAULT_CHANGED event to prevent double refresh Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Propagate profile updates to child nodes Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Skip vault change events triggered by ZE Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update changelog Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * fix(tests): Add EventProcessor stub to imperative module mock Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: Move logic into separate functions; tests: add patch coverage Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update ZE API changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ran prepublish Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * fix: pass processor as function arg instead of bind Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(tests): Pass fake event processor to hook function Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Make error handling consistent across all trees Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Move 401 error handling back into node methods Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update unit tests for error handling and placeholder nodes Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix duplicate expand for jobs, clean up logging, update changelog Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix log statements in wrong place Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Use contextOverride when building session nodes Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add tests for memberPattern on ds node Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add unit test for USS placeholder node Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix extra tree refresh on credential update Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Store saved profile contents by URI path Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix update creds cancelling and node not refreshing Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix failing USS actions test Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Handle scenario of falsy node to refresh Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add unit test for syncSessionNode Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Don't show placeholder node when there is error Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * resolve FTP getContents bug for MVS and USS (#3200) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * Fix children in tree nodes persisting on error (#3224) * Fix children in tree nodes persisting on error Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update unit tests to ensure children don't persist Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * ci: change node versions on lint & deployment workflows (#3228) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * Prep 3.0.1 (#3202) * check path instead of file name Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * add changelog, fix test, run package Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * To address issue with opening project config in zowe dir Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> * To fix pnpm lint failure Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> * To update CHANGELOG.md file Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> * fix(ZoweDatasetNode): Add contextOverride to PS node Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add PR number to ZE changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: Add check for binary in contextOverride Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Update release.config.js for Zowe V3 GA Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * chore: missing newline in ZE changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(ProfilesUtils): Pass paths to new ProfileInfo instance Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add changelog entry for ZE Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: adjust changelog to match v2 port Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: Add unit test to verify readProfilesFromDisk behavior Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * To revert back logic to open the global config file Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> * chore: update ZE changelog entries Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Remove sample VSCEs and restore carets for SDK deps (#3173) * Remove sample VSCEs and restore carets for SDK deps Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update Zowe SDKs to remove prerelease peer deps Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Ignore issueTsoCommand deprecation warning for now Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * Add Sonar scan properties and remove old system test files (#3194) Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: prompt optimizations for create file/dir; address case of skipping prompt (#3189) * fix: prompt optimizations for create file/dir; fix session case Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update ZE changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: resolve failing tests, remove unused isTopLevel parameter Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: remove unused createUSSNodeDialog function Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: use path.posix.join when building full path Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: add test case for prompting user w/ location Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add additional bugfix to ZE changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: add case for dismissing location prompt Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: add case for createUSSNode - trailing slashes Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: use isTopLevel earlier in createUSSNode Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * fix(ds): File extension detection misidentifies types (#3182) * fix(ds): File extension detection misidentifies types Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Simplify ds extension mapping Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * deps: update lockfile to resolve audit failure (#3195) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix 401 error when opening PDS members after cred change (#3157) * Temporarily disable ON_VAULT_CHANGED event to prevent double refresh Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Propagate profile updates to child nodes Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Skip vault change events triggered by ZE Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update changelog Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * fix(tests): Add EventProcessor stub to imperative module mock Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: Move logic into separate functions; tests: add patch coverage Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update ZE API changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ran prepublish Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * fix: pass processor as function arg instead of bind Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix(tests): Pass fake event processor to hook function Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Make error handling consistent across all trees Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Move 401 error handling back into node methods Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update unit tests for error handling and placeholder nodes Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix duplicate expand for jobs, clean up logging, update changelog Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix log statements in wrong place Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Use contextOverride when building session nodes Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add tests for memberPattern on ds node Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add unit test for USS placeholder node Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix extra tree refresh on credential update Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Store saved profile contents by URI path Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix update creds cancelling and node not refreshing Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Fix failing USS actions test Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Handle scenario of falsy node to refresh Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Add unit test for syncSessionNode Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Don't show placeholder node when there is error Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * resolve FTP getContents bug for MVS and USS (#3200) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> * chore: add missing license header Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * patch: update lerna.json in preparation for a release Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * chore: update changelog files Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * chore: update changelog 😋 Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * Fix children in tree nodes persisting on error (#3224) * Fix children in tree nodes persisting on error Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * Update unit tests to ensure children don't persist Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> --------- Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Signed-off-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com> Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com> Co-authored-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * Bump version to 3.0.1 [ci skip] Signed-off-by: zowe-robot <zowe.robot@gmail.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * Bump version to 3.0.1-SNAPSHOT [ci skip] Signed-off-by: zowe-robot <zowe.robot@gmail.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * chore: add dco remediation paths Third-Party DCO Remediation Commit for Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> On behalf of Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com>, I, zFernand0 <37381190+zFernand0@users.noreply.github.com>, hereby add my Signed-off-by to this commit: 950524f Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * chore: revert version changes after rebase to fix DCO Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * chore: remove duplicate changelog items. thanks @t1m0thyj Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> * address comment Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> Signed-off-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com> Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: zowe-robot <zowe.robot@gmail.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com> Co-authored-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> Co-authored-by: zowe-robot <zowe.robot@gmail.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * fix(ci): Use `ubuntu-22.04` images to get access to libsecret (#3233) * ci: use ubuntu-22.04 image for libsecret fix Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * ci: update checks for matrix.os Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * Removing icon names from translated strings (#3239) * Removing icon names from translated strings Signed-off-by: Peter Haumer <4391934+phaumer@users.noreply.github.com> * Changelog updated Signed-off-by: Peter Haumer <4391934+phaumer@users.noreply.github.com> * Changelog for API package Signed-off-by: Peter Haumer <4391934+phaumer@users.noreply.github.com> --------- Signed-off-by: Peter Haumer <4391934+phaumer@users.noreply.github.com> * update lerna Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * ZE Webview Localization (#3162) * Webview Loc Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Add unit tests and changelog Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Update tests Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Add more test suites Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Address issue seen with edit history Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Edit Attributes permissions localization Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Address table-view No items selected and Page Size localization Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * Add changelog Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> * run package; nls Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * Add code coverage Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> --------- Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * fix: Move v1 conversion prompt into initialization (#3246) * fix: Move v1 conversion prompt into initialization Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update ZE changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: fix failing tests, move test cases & fn call Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * refactor: move migration check before creating profiles instance Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: update changelog and l10n Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: check for return values in v1ProfileOptions Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * run package Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * chore: address changelog Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * refactor(jobs): Update contents of editor during polling / "Pull from Mainframe" (#3249) * refactor: revert contents in editor for jobs when pulling data Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * chore: add ZE changelog entry Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * fix: update mtime, size in fetchSpoolAtUri Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * tests: resolve failing test cases Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> * add changelog # Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> Co-authored-by: Billie Simmons <BillieJean.Simmons@ibm.com> * address comments for changelogs Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * fix(uss): Fix encoding of USS file not automatically detected (#3253) * fix(uss): Fix encoding of USS file not automatically detected Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> * run pre-publish Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Co-authored-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * remove extra space in ZE package.json build script Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> * fix: add ProfileInfo.getTeamConfig.exists check to v1 profile prompt (#3256) Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> --------- Signed-off-by: Timothy Johnson <timothy.johnson@broadcom.com> Signed-off-by: Trae Yelovich <trae.yelovich@broadcom.com> Signed-off-by: Billie Simmons <49491949+JillieBeanSim@users.noreply.github.com> Signed-off-by: zFernand0 <37381190+zFernand0@users.noreply.github.com> Signed-off-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com> Signed-off-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> Signed-off-by: Billie Simmons <BillieJean.Simmons@ibm.com> Signed-off-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Signed-off-by: zowe-robot <zowe.robot@gmail.com> Signed-off-by: Peter Haumer <4391934+phaumer@users.noreply.github.com> Signed-off-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com> Co-authored-by: Timothy Johnson <timothy.johnson@broadcom.com> Co-authored-by: Trae Yelovich <trae.yelovich@broadcom.com> Co-authored-by: Fernando Rijo Cedeno <37381190+zFernand0@users.noreply.github.com> Co-authored-by: SanthoshiBoyina1 <142206957+SanthoshiBoyina1@users.noreply.github.com> Co-authored-by: Santhoshi Boyina <Santhoshi.Boyina1@ibm.com> Co-authored-by: zowe-robot <zowe.robot@gmail.com> Co-authored-by: Peter Haumer <4391934+phaumer@users.noreply.github.com> Co-authored-by: likhithanimma1 <142219673+likhithanimma1@users.noreply.github.com>
Proposed changes
Prompting the user to convert v1 profiles during
readConfigFromDisk
can cause the prompt to appear in scenarios where it shouldn't. One example is when making changes to a project config in one Zowe Explorer window, while another window is opened with Zowe Explorer & no team configs.We should only prompt the user to convert their v1 profiles once during initialization. This PR moves the convert prompt logic into the
ProfilesUtils.handleV1MigrationStatus
function.Release Notes
Milestone: 3.0.2
Changelog:
Types of changes
Checklist
General
yarn workspace vscode-extension-for-zowe vscode:prepublish
pnpm --filter vscode-extension-for-zowe vscode:prepublish
Code coverage
Deployment