Skip to content

Refactor component handling and improve user input management#2525

Merged
worksofliam merged 9 commits into
masterfrom
fixes/get_members
Feb 24, 2025
Merged

Refactor component handling and improve user input management#2525
worksofliam merged 9 commits into
masterfrom
fixes/get_members

Conversation

@worksofliam
Copy link
Copy Markdown
Member

@worksofliam worksofliam commented Feb 21, 2025

  • move enableSQL to the connection instance.
  • enhance component manager checks for NotChecked state
    • Add missing away that was setting all cached states to NotChecked
  • handle potential crashes when the getMemberInfo component is unavailable.
  • fixed broken test introduced by another PR (where a date should have been returned correctly)

How to test

  1. Ensure Go to File works as expected for opening members:
    • Try entering QSYSINC/* to filter
    • Then try QSYSINC/H/*` to filter
    • Try opening MATH

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
…tate is NotChecked

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam added the bug A confirmed issue when something isn't working as intended label Feb 21, 2025
@worksofliam worksofliam requested review from SanjulaGanepola and sebjulliand and removed request for SanjulaGanepola February 21, 2025 04:05
@worksofliam worksofliam linked an issue Feb 21, 2025 that may be closed by this pull request
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 21, 2025

👋 A new build is available for this PR based on 14b2b0c.

Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam temporarily deployed to testing_environment February 21, 2025 18:55 — with GitHub Actions Inactive
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
@worksofliam worksofliam temporarily deployed to testing_environment February 21, 2025 19:50 — with GitHub Actions Inactive
Comment thread src/api/components/getMemberInfo.ts
Comment thread src/commands/open.ts Outdated
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
Copy link
Copy Markdown
Collaborator

@chrjorgensen chrjorgensen left a comment

Choose a reason for hiding this comment

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

@worksofliam Code changes for Go To file tested and approved. 👍

Biggest issue during testing was that GetMbrInfo test failed - seems like the test creates a new, temp config for the host running the test? None of my connection profiles for that host uses the default temp library, so the function and the test sourcefile was not in the expected library. Something to be aware of!

@worksofliam
Copy link
Copy Markdown
Member Author

@chrjorgensen Thanks!!

odd about your tests not passing. I recommend deleting the .json files under the tests folder and then trying running your tests against.

image

@worksofliam worksofliam merged commit c4878b9 into master Feb 24, 2025
@sebjulliand sebjulliand deleted the fixes/get_members branch October 23, 2025 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug A confirmed issue when something isn't working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Sometimes GetMemberInfo throws an SQL error

3 participants