Skip to content

Commit

Permalink
Merge pull request #2520 from Shopify/ek/add-should-render-targets
Browse files Browse the repository at this point in the history
Update action target descriptions to include should-render
  • Loading branch information
elanalynn authored Dec 6, 2024
2 parents c95ad0c + 976871a commit 66ccd32
Showing 1 changed file with 26 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,156 +16,156 @@ You register targets in your \`shopify.extension.toml\` and inside the Javascrip
title: 'Admin action locations',
anchorLink: 'action-locations',
sectionContent:
'Admin action extensions appear on resource pages throughout the admin. Learn more about [admin actions](/docs/apps/admin/admin-actions-and-blocks#admin-actions).',
'Admin action extensions appear on resource pages throughout the admin. Learn more about [admin actions](/docs/apps/admin/admin-actions-and-blocks#admin-actions). Each target has a companion target that supports [controlling the visibility of the admin action menu item](/docs/apps/build/admin/actions-blocks/hide-extensions?extension=react).',
accordionContent: [
{
title: 'Abandoned checkout details',
description:
'This page shows information about a single abandoned checkout. The `admin.abandoned-checkout-details.action.render` target is available on this page.',
'This page shows information about a single abandoned checkout. The `admin.abandoned-checkout-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.abandoned-checkout-details.action.should-render` target.',
image: 'admin.abandoned-checkout-details.action.render.png',
},
{
title: 'Catalog details',
description:
'This page shows information about a single catalog. The `admin.catalog-details.action.render` target is available on this page.',
'This page shows information about a single catalog. The `admin.catalog-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.catalog-details.action.should-render` target.',
image: 'admin.catalog-details.action.render.png',
},
{
title: 'Collection details',
description:
'This page shows information about a single collection. The `admin.collection-details.action.render` target is available on this page.',
'This page shows information about a single collection. The `admin.collection-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.collection-details.action.should-render` target.',
image: 'admin.collection-details.action.render.png',
},
{
title: 'Collection index',
description:
'This page shows a table of multiple collections. The `admin.collection-index.action.render` target is available on this page.',
'This page shows a table of multiple collections. The `admin.collection-index.action.render` target is available on this page. You can control the visibility of the action by using the `admin.collection-index.action.should-render` target.',
image: 'admin.collection-index.action.render.png',
},
{
title: 'Company details',
description:
'This page shows information about a single company. The `admin.company-details.action.render` target is available on this page.',
'This page shows information about a single company. The `admin.company-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.company-details.action.should-render` target.',
image: 'admin.company-details.action.render.png',
},
{
title: 'Customer details',
description:
'This page shows information about a single customer. The `admin.customer-details.action.render` target is available on this page.',
'This page shows information about a single customer. The `admin.customer-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.customer-details.action.should-render` target.',
image: 'admin.customer-details.action.render.png',
},
{
title: 'Customer index',
description:
'This page shows a table of multiple customers. The `admin.customer-index.action.render` target is available on this page.',
'This page shows a table of multiple customers. The `admin.customer-index.action.render` target is available on this page. You can control the visibility of the action by using the `admin.customer-index.action.should-render` target.',
image: 'admin.customer-index.action.render.png',
},
{
title: 'Customer index selection',
description:
'This page shows a table of multiple customers. The `admin.customer-index.selection-action.render` target is available on this page when multiple customers are selected.',
'This page shows a table of multiple customers. The `admin.customer-index.selection-action.render` target is available on this page when multiple customers are selected. You can control the visibility of the action by using the `admin.customer-index.selection-action.should-render` target.',
image: 'admin.customer-index.selection-action.render',
},
{
title: 'Customer segment details',
description:
'This page shows information about a single customer segment. The `admin.customer-segment-details.action.render` target is available on this page.',
'This page shows information about a single customer segment. The `admin.customer-segment-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.customer-segment-details.action.should-render` target.',
image: 'admin.customer-segment-details.action.render.png',
},
{
title: 'Discount details',
description:
'This page shows information about a single discount. The `admin.discount-details.action.render` target is available on this page.',
'This page shows information about a single discount. The `admin.discount-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.discount-details.action.should-render` target.',
image: 'admin.discount-details.action.render.png',
},
{
title: 'Discount index',
description:
'This page shows a table of multiple discounts. The `admin.discount-index.action.render` target is available on this page.',
'This page shows a table of multiple discounts. The `admin.discount-index.action.render` target is available on this page. You can control the visibility of the action by using the `admin.discount-index.action.should-render` target.',
image: 'admin.discount-index.action.render.png',
},
{
title: 'Draft order details',
description:
'This page shows information about a single draft order. The `admin.draft-order-details.action.render` target is available on this page.',
'This page shows information about a single draft order. The `admin.draft-order-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.draft-order-details.action.should-render` target.',
image: 'admin.draft-order-details.action.render.png',
},
{
title: 'Draft order index',
description:
'This page shows a table of multiple draft orders. The `admin.draft-order-index.action.render` target is available on this page.',
'This page shows a table of multiple draft orders. The `admin.draft-order-index.action.render` target is available on this page. You can control the visibility of the action by using the `admin.draft-order-index.action.should-render` target.',
image: 'admin.draft-order-index.action.render.png',
},
{
title: 'Draft order index selection',
description:
'This page shows a table of multiple draft orders. The `admin.draft-order-index.selection-action.render` target is available on this page when multiple draft orders are selected.',
'This page shows a table of multiple draft orders. The `admin.draft-order-index.selection-action.render` target is available on this page when multiple draft orders are selected. You can control the visibility of the action by using the `admin.draft-order-index.selection-action.should-render` target.',
image: 'admin.draft-order-index.selection-action.render.png',
},
{
title: 'Gift card details',
description:
'This page shows information about a single gift card. The `admin.gift-card-details.action.render` target is available on this page.',
'This page shows information about a single gift card. The `admin.gift-card-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.gift-card-details.action.should-render` target.',
image: 'admin.gift-card-details.action.render.png',
},
{
title: 'Order details',
description:
'This page shows information about a single order. The `admin.order-details.action.render` target is available on this page.',
'This page shows information about a single order. The `admin.order-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.order-details.action.should-render` target.',
image: 'admin.order-details.action.render.png',
},
{
title: 'Order details fulfilled card',
description:
'This page shows information about a single order, including a card showing the fulfillment details. The `admin.order-fulfilled-card.action.render` target is available on this page, but only if your app is selected as the fulfillment app for that order.',
'This page shows information about a single order, including a card showing the fulfillment details. The `admin.order-fulfilled-card.action.render` target is available on this page, but only if your app is selected as the fulfillment app for that order. You can control the visibility of the action by using the `admin.order-fulfilled-card.action.should-render` target.',
image: 'admin.order-fulfilled-card.action.render.png',
},
{
title: 'Order index',
description:
'This page shows a table of multiple orders. The `admin.order-index.action.render` target is available on this page.',
'This page shows a table of multiple orders. The `admin.order-index.action.render` target is available on this page. You can control the visibility of the action by using the `admin.order-index.action.should-render` target.',
image: 'admin.order-index.action.render.png',
},
{
title: 'Order index selection',
description:
'This page shows a table of multiple orders. The `admin.order-index.selection-action.render` target is available on this page when multiple orders are selected.',
'This page shows a table of multiple orders. The `admin.order-index.selection-action.render` target is available on this page when multiple orders are selected. You can control the visibility of the action by using the `admin.order-index.selection-action.should-render` target.',
image: 'admin.order-index.selection-action.render.png',
},
{
title: 'Product details',
description:
'This page shows information about a single product. The `admin.product-details.action.render` target is available on this page.',
'This page shows information about a single product. The `admin.product-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.product-details.action.should-render` target.',
image: 'admin.product-details.action.render.png',
},
{
title: 'Product index',
description:
'This page shows a table of multiple products. The `admin.product-index.action.render` target is available on this page.',
'This page shows a table of multiple products. The `admin.product-index.action.render` target is available on this page. You can control the visibility of the action by using the `admin.product-index.action.should-render` target.',
image: 'admin.product-index.action.render.png',
},
{
title: 'Product index selection',
description:
'This page shows a table of multiple products. The `admin.product-index.selection-action.render` target is available on this page when multiple products are selected.',
'This page shows a table of multiple products. The `admin.product-index.selection-action.render` target is available on this page when multiple products are selected. You can control the visibility of the action by using the `admin.product-index.selection-action.should-render` target.',
image: 'admin.product-index.selection-action.render.png',
},
{
title: 'Product variant details',
description:
'This page shows information about a single product variant. The `admin.product-variant-details.action.render` target is available on this page.',
'This page shows information about a single product variant. The `admin.product-variant-details.action.render` target is available on this page. You can control the visibility of the action by using the `admin.product-variant-details.action.should-render` target.',
image: 'admin.product-variant-details.action.render.png',
},
{
title: 'Product detail purchase options card',
description:
'This page shows information about a single product, including a card showing purchase options. The `admin.product-purchase-option.action.render` target is available on this page when selling plans exists.',
'This page shows information about a single product, including a card showing purchase options. The `admin.product-purchase-option.action.render` target is available on this page when selling plans exists. You can control the visibility of the action by using the `admin.product-purchase-option.action.should-render` target.',
image: 'admin.product-purchase-option.action.render.png',
},
{
title: 'Product variant detail purchase options card',
description:
'This page shows information about a single product variant, including a card showing purchase options. The `admin.product-variant-purchase-option.action.render` target is available on this page when selling plans exists.',
'This page shows information about a single product variant, including a card showing purchase options. The `admin.product-variant-purchase-option.action.render` target is available on this page when selling plans exists. You can control the visibility of the action by using the `admin.product-variant-purchase-option.action.should-render` target.',
image: 'admin.product-variant-purchase-option.action.render.png',
},
],
Expand Down

0 comments on commit 66ccd32

Please sign in to comment.