[Admin Extension Docs] Add resourcePicker
to Action Extension Api docs
#2477
+12
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Do Not Merge: Will need to rebase after #2379 ships so we can update this PR to include the
GenericPicker
being available inActionExtensionsApi
Background
Related to https://github.com/Shopify/app-ui/issues/1756
Should ship after https://github.com/Shopify/web/pull/146520 and #2379
Follow up
shopify-dev
PR https://github.com/Shopify/shopify-dev/pull/50766Add
resourcePicker
andgenericPicker
Api to Action Extension Api to support the new Resource Picker availability in action extensions.Solution
Update the
ActionExtensionApi
interface to include theResourcePickerApi
andGenericPickerApi
NOTE: Will need to check on https://github.com/Shopify/shopify-dev/pull/49753 to see if there's verbage we'll need to update in https://github.com/Shopify/ui-extensions/blob/unstable/packages/ui-extensions/docs/surfaces/admin/staticPages/admin-extensions.doc.ts so it doesn't say
blocks only
.🎩
Before:
After:
Checklist