Add toggle support for QuickInput/QuickPick, resourceUri support for QuickPickItem (#271598)

* Add quickPickItemResource API proposal

* Transfer resourceUri from extension host to main thread.

* Make proposed API checks consistent.

* Process resourceUri

* Fix up resourceUri mapping logic

* API proposal

* Transfer toggles from extension host to main thread

* Support Folder icon, refactor label/description derivation.

* Update

* Update API proposal per API review

* Update transfer logic per API changes

* Move toggles to the base input interface

* Handle toggle button type

* Fix up

* Updates

* Propagate checked state, dispose removed toggles.

* Nit

* Expand icons

* Feedback/updates

* Added comments, PR feedback

* Updates

* Revert some change, add typings and unit-tests to converters.

* Add a quick pick test for resourceUri

* Test updates
This commit is contained in:
Dmitriy Vasyura
2025-10-18 15:57:07 -07:00
committed by GitHub
parent 8e72c61e03
commit bfba6b040c
14 changed files with 558 additions and 151 deletions

View File

@@ -32,7 +32,9 @@
"notebookMessaging",
"notebookMime",
"portsAttributes",
"quickInputButtonLocation",
"quickPickSortByLabel",
"quickPickItemResource",
"resolvers",
"scmActionButton",
"scmSelectedProvider",