Skip to content
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

Unable to open a Sequential DS after renaming a favourited Sequential DS #3453

Merged
merged 39 commits into from
Feb 19, 2025

Conversation

SanthoshiBoyina1
Copy link
Contributor

Proposed changes

Fixes #3345

Release Notes

Milestone:

Changelog:

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • Enhancement (non-breaking change which adds or improves functionality)
  • Breaking change (a change that would cause existing functionality to not work as expected)
  • Documentation (Markdown, README updates)
  • Other (please specify above in "Proposed changes" section)

Checklist

General

  • I have read the CONTRIBUTOR GUIDANCE wiki
  • All PR dependencies have been merged and published (if applicable)
  • A GIF or screenshot is included in the PR for visual changes
  • The pre-publish command has been executed:
    • v2 and below: yarn workspace vscode-extension-for-zowe vscode:prepublish
    • v3: pnpm --filter vscode-extension-for-zowe vscode:prepublish

Code coverage

  • There is coverage for the code that I have added
  • I have added new test cases and they are passing
  • I have manually tested the changes

Deployment

  • I have added developer documentation (if applicable)
  • Documentation should be added to Zowe Docs
    • If you're an outside contributor, please post in the #zowe-doc Slack channel to coordinate documentation.
    • Otherwise, please check with the rest of the squad about any needed documentation before merging.
  • These changes may need ported to the appropriate branches (list here):

Further comments

…ming the favorited pds

Signed-off-by: Santhoshi Boyina <[email protected]>
…renaming a seq ds in the favorites

Signed-off-by: Santhoshi Boyina <[email protected]>
…ee view upon renaming the seq ds from the ds tree view

Signed-off-by: Santhoshi Boyina <[email protected]>
Copy link

📅 Suggested merge-by date: 2/24/2025

@SanthoshiBoyina1 SanthoshiBoyina1 added the no-changelog Add to PR's that don't require a CHANGELOG update label Feb 10, 2025
anaxceron
anaxceron previously approved these changes Feb 10, 2025
Copy link

codecov bot commented Feb 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.49%. Comparing base (8944fe3) to head (f395734).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3453      +/-   ##
==========================================
+ Coverage   93.44%   93.49%   +0.04%     
==========================================
  Files         120      120              
  Lines       12676    12694      +18     
  Branches     2884     2887       +3     
==========================================
+ Hits        11845    11868      +23     
+ Misses        830      825       -5     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pull-request-size pull-request-size bot added size/L and removed size/M labels Feb 11, 2025
JillieBeanSim
JillieBeanSim previously approved these changes Feb 18, 2025
Copy link
Contributor

@JillieBeanSim JillieBeanSim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks for the fix @SanthoshiBoyina1

Copy link
Member

@traeok traeok left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fix LGTM, thanks Santhoshi! I had a quick question before approving, but the changes make sense to me.

Copy link
Member

@t1m0thyj t1m0thyj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks pretty good, thanks @SanthoshiBoyina1! Just one question

@@ -67,6 +67,7 @@ export namespace Definitions {
session?: imperative.Session;
profile?: imperative.IProfileLoaded;
contextOverride?: string;
contextValue?: string;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to add contextValue here? It feels redundant since it's already defined on tree nodes, and the IZoweTreeOpts type (which is only used in constructors) has contextOverride to support overriding the default context value.

anaxceron
anaxceron previously approved these changes Feb 18, 2025
Copy link
Contributor

@JillieBeanSim JillieBeanSim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! thanks @SanthoshiBoyina1 for the fix

@JillieBeanSim JillieBeanSim merged commit 5c645bc into main Feb 19, 2025
23 checks passed
@JillieBeanSim JillieBeanSim deleted the fix/renameSeqDs branch February 19, 2025 15:53
Copy link
Member

@zFernand0 zFernand0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 😋

great catch on this edge case 🤯
Thanks for the fix! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-changelog Add to PR's that don't require a CHANGELOG update size/L
Projects
Status: Closed
Development

Successfully merging this pull request may close these issues.

Rename Sequential DS not working correctly
6 participants