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

[Admin Extension Docs] Add resourcePicker to Action Extension Api docs #2477

Open
wants to merge 2 commits into
base: unstable
Choose a base branch
from

Conversation

melissaluu
Copy link

@melissaluu melissaluu commented Nov 18, 2024

Do Not Merge: Will need to rebase after #2379 ships so we can update this PR to include the GenericPicker being available in ActionExtensionsApi

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/50766

Add resourcePicker and genericPicker Api to Action Extension Api to support the new Resource Picker availability in action extensions.

Solution

Update the ActionExtensionApi interface to include the ResourcePickerApi and GenericPickerApi

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:
image

After:
image

Checklist

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

@melissaluu melissaluu closed this Nov 18, 2024
@melissaluu melissaluu force-pushed the ml/action-extension-resource-picker-docs branch from b699449 to eb564c6 Compare November 18, 2024 22:57
@melissaluu melissaluu reopened this Nov 18, 2024
@melissaluu melissaluu force-pushed the ml/action-extension-resource-picker-docs branch from d21d11d to 062aa23 Compare November 28, 2024 20:57
@melissaluu melissaluu marked this pull request as ready for review November 28, 2024 21:14
Copy link
Contributor

We detected some changes in packages/*/package.json or packages/*/src, and there are no updates in the .changeset directory. If the changes are user-facing and should cause a version bump, run yarn changeset to track your changes and include them in the next release CHANGELOG. If you are making simple updates to repo configuration, examples, or documentation, you do not need to add a changeset.

@melissaluu melissaluu requested a review from a team November 28, 2024 22:07
Copy link
Contributor

@MitchLillie MitchLillie left a comment

Choose a reason for hiding this comment

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

LGTM!

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