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

Refactor vscode-elements textfield value workaround #1810

Merged
merged 2 commits into from
Feb 6, 2025

Conversation

alisonlhart
Copy link
Contributor

@alisonlhart alisonlhart commented Feb 6, 2025

This PR removes workarounds related to vscode-elements/elements#271, as that was resolved in vscode-elements 1.12.0.

Now the VSCodeTextField .value attribute can be accessed and utilized correctly to update the inner element.

This PR also resolves a small issue related to this workaround in the Collection and Playbook Project webviews, where when selecting a folder for the init path, the init path would not be updated.

An import for webview-ui-toolkit in the Quick Links webview is also removed in this change, since none of those elements are utilized in that webview.

The collection project webview also now displays the correct init collection path rather than only showing the default path.

Copy link
Contributor

@cidrblock cidrblock left a comment

Choose a reason for hiding this comment

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

nice

@cidrblock cidrblock self-requested a review February 6, 2025 14:49
@alisonlhart
Copy link
Contributor Author

Making a small change suggested by @abhikdps, then will be ready for merge!

@alisonlhart alisonlhart changed the title Refactor vscode-elements textfield input value workaround Refactor vscode-elements textfield value workaround Feb 6, 2025
Copy link
Contributor

@abhikdps abhikdps left a comment

Choose a reason for hiding this comment

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

lgtm! 🎉

@alisonlhart alisonlhart merged commit 22a13a7 into ansible:main Feb 6, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

6 participants