add File picker intent type and action to public Intents API types#4499
Draft
charlesdobson wants to merge 1 commit into
Draft
add File picker intent type and action to public Intents API types#4499charlesdobson wants to merge 1 commit into
charlesdobson wants to merge 1 commit into
Conversation
Extends IntentAction to include 'pick', IntentType to include 'shopify/File', and updates JSDoc for IntentInvokeApi to document file-picking workflows with example usage.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Add public documentation for the new
pick:shopify/Fileadmin intent (File Picker Intent) to the UI Extensions Intents API types.Changes
IntentActiontype to include'pick'actionIntentTypeunion to include'shopify/File'resourceIntentInvokeApiJSDoc to document file-picking workflows alongside create/edit patterns@exampleshowing file picker invocation withmediaTypesandmultiSelectoptions, demonstrating the.idsresponseGenerated files
Generated documentation JSON (
docs/surfaces/admin/generated/...) is intentionally excluded from this PR. Regenerating it viayarn docs:admin 2026-07-rccurrently also sweeps in unrelated drift (new extension targets + non-deterministic TypeScript internal-symbol churn) because the committed artifacts are already behind current source. The generated JSON and shopify.dev sync are handled by the normal docs pipeline / a separate shopify.dev PR.Related PRs
Context
Part of File Picker Intent epic: shop/issues-workflows#1518 (docs sub-issue #1503). Complements admin-web registration shop/world PR #740113.