Open
Description
Please list the package(s) involved in the issue, and include the version you are using
"@shopify/ui-extensions": "2024.10.0",
"@shopify/ui-extensions-react": "2024.10.0",
Describe the bug
Minor annoyance, the admin targets: admin.order-details.block.render cannot be configured in the same extension as admin.order-details.action.render. The App CLI returns following error:
13:59:32 │ app-access │ Error while updating drafts: Invalid extension point(s) configured:
13:59:32 │ app-access │ - admin.order-details.block.render cannot be configured in the same extension as admin.order-details.action.render. Create a new extension with the admin.order-details.block.render extension point(s).
Steps to reproduce the behavior:
Create toml:
api_version = "2024-10"
[[extensions]]
name = "t:name"
handle = "admin-extension"
type = "ui_extension"
[[extensions.targeting]]
module = "./src/targets/OrderDetailsBlock.tsx"
target = "admin.order-details.block.render"
[[extensions.targeting]]
module = "./src/targets/OrderDetailsAction.tsx"
target = "admin.order-details.action.render"
Expected behavior
This should be possible, as it is possible with Checkout and POS extensions.