Skip to content

Comments

Expose picker and resource picker APIs for all rendering extensions#3785

Merged
billfienberg merged 1 commit into2026-04-rcfrom
bf/expose-picker-apis-rendering-targets-2026-04-rc
Jan 30, 2026
Merged

Expose picker and resource picker APIs for all rendering extensions#3785
billfienberg merged 1 commit into2026-04-rcfrom
bf/expose-picker-apis-rendering-targets-2026-04-rc

Conversation

@billfienberg
Copy link
Contributor

Background

Cherry-pick of #3781 for the 2026-04-rc branch.

Fixes a bug where picker and resource picker APIs were only available to block, action, and print extensions. This PR exposes them to all rendering extensions.

Solution

Introduces StandardRenderingExtensionApi that extends StandardApi with resourcePicker and picker APIs. All rendering extension APIs (BlockExtensionApi, ActionExtensionApi, PrintActionExtensionApi, ValidationSettingsApi, OrderRoutingRuleApi) now extend this instead of StandardApi directly.

This keeps StandardApi minimal for non-rendering extensions like admin.app.tools.data that have no use for picker dialogs.

🎩

  1. Generate an order routing rule settings extension shopify app generate extension --template order_routing_location_rule_ui
  2. Verify that you can access shopify.picker and shopify.resourcePicker

Checklist

  • I have 🎩'd these changes
  • I have updated relevant documentation

🤖 This PR was generated with Claude Code

Introduces StandardRenderingExtensionApi that extends StandardApi with
resourcePicker and picker APIs. All rendering extension APIs now extend
this instead of StandardApi directly, giving them access to picker APIs.

This keeps StandardApi minimal for non-rendering extensions like
admin.app.tools.data that have no use for picker dialogs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@billfienberg billfienberg merged commit acd9002 into 2026-04-rc Jan 30, 2026
5 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