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

chore: Add askUserForFileSelection() in KaotoEditorChannelApi #1528

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

igarashitm
Copy link
Contributor

No description provided.

@@ -45,4 +45,16 @@ export interface KaotoEditorChannelApi extends KogitoEditorChannelApi {
* @return If the deletion was done succesfully
*/
deleteResource(path: string): Promise<boolean>;

/**
* Show a Quick Pick widget and ask the user to select one or more files available in the workspace.
Copy link
Member

Choose a reason for hiding this comment

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

Just a bit of food for thought, it's possible that this API might be implemented differently in the browser, perhaps in the form of a standard file picker

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point, updated the doc not to be too specific to VS Code.

Copy link

sonarcloud bot commented Oct 3, 2024

Copy link

codecov bot commented Oct 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Please upload report for BASE (main@cb1f68e). Learn more about missing BASE report.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1528   +/-   ##
=======================================
  Coverage        ?   69.73%           
  Complexity      ?       62           
=======================================
  Files           ?      276           
  Lines           ?     7752           
  Branches        ?     1518           
=======================================
  Hits            ?     5406           
  Misses          ?     2344           
  Partials        ?        2           

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

@igarashitm igarashitm merged commit 221f3cd into KaotoIO:main Oct 3, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants