www/apps/resources/app/admin-widget-injection-zones/page.mdx
import { Table } from "docs-ui" import CampaignContent from "../commerce-modules/promotion/admin-widget-zones/_content/campaign.mdx" import CustomerContent from "../commerce-modules/customer/admin-widget-zones/_content/customer.mdx" import CustomerGroupContent from "../commerce-modules/customer/admin-widget-zones/_content/customer-group.mdx" import InventoryContent from "../commerce-modules/inventory/admin-widget-zones/_content/inventory.mdx" import LoginContent from "../commerce-modules/auth/admin-widget-zones/_content.mdx" import OrderContent from "../commerce-modules/order/admin-widget-zones/_content/order.mdx" import PricingContent from "../commerce-modules/pricing/admin-widget-zones/_content.mdx" import ProductContent from "../commerce-modules/product/admin-widget-zones/_content/product.mdx" import ProductVariantContent from "../commerce-modules/product/admin-widget-zones/_content/product-variant.mdx" import ProductCollectionContent from "../commerce-modules/product/admin-widget-zones/_content/product-collection.mdx" import ProductCategoryContent from "../commerce-modules/product/admin-widget-zones/_content/product-category.mdx" import PromotionContent from "../commerce-modules/promotion/admin-widget-zones/_content/promotion.mdx" import ApiKeyContent from "../commerce-modules/api-key/admin-widget-zones/_content.mdx" import StockLocationContent from "../commerce-modules/stock-location/admin-widget-zones/_content.mdx" import ProfileContent from "../commerce-modules/user/admin-widget-zones/_content/profile.mdx" import RegionContent from "../commerce-modules/region/admin-widget-zones/_content.mdx" import ReservationContent from "../commerce-modules/inventory/admin-widget-zones/_content/reservation.mdx" import ReturnReasonContent from "../commerce-modules/order/admin-widget-zones/_content/return-reason.mdx" import SalesChannelContent from "../commerce-modules/sales-channel/admin-widget-zones/_content.mdx" import ShippingProfileContent from "../commerce-modules/fulfillment/admin-widget-zones/_content/shipping-profile.mdx" import ShippingOptionTypeContent from "../commerce-modules/fulfillment/admin-widget-zones/_content/shipping-option-type.mdx" import StoreContent from "../commerce-modules/store/admin-widget-zones/_content.mdx" import TaxContent from "../commerce-modules/tax/admin-widget-zones/_content.mdx" import UserContent from "../commerce-modules/user/admin-widget-zones/_content/user.mdx" import DraftOrderContent from "../commerce-modules/order/admin-widget-zones/_content/draft-order.mdx" import StoreCreditAccountContent from "../commerce-modules/store-credit/admin-widget-zones/_content/store-credit-account.mdx" import GiftCardContent from "../commerce-modules/loyalty/admin-widget-zones/_content/gift-card.mdx" import GiftCardProductContent from "../commerce-modules/loyalty/admin-widget-zones/_content/gift-card-product.mdx" import PropertyLabelContent from "../commerce-modules/settings/admin-widget-zones/_content.mdx" import DeprecationNote from "./_deprecation-note.mdx"
export const metadata = {
title: Admin Widget Injection Zones,
}
This documentation page includes the list of injection zones you can add Admin Widgets to.
<DeprecationNote />These widget zones are available starting from Medusa v2.16.0.
</Note> <DraftOrderContent />These widget zones are available starting from Medusa v2.16.0.
</Note> <GiftCardContent />These widget zones are available starting from Medusa v2.16.0.
</Note> <GiftCardProductContent />The login page isn't part of the dashboard's layout configurations, so its zones still use the .before and .after suffixes to place the widget relative to the login form.
These widget zones are available starting from Medusa v2.16.0.
</Note> <StoreCreditAccountContent /> `workflow.list`
</Table.Cell>
<Table.Cell>
Added at the end of the workflows list page.
</Table.Cell>
<Table.Cell>
\-
</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>
`workflow.details`
</Table.Cell>
<Table.Cell>
Added at the end of a workflow execution's details page.
</Table.Cell>
<Table.Cell>
Type `DetailWidgetProps<AdminWorkflowExecution>` imported from `@medusajs/framework/types`
```ts blockStyle="inline"
{
data, // AdminWorkflowExecution object
}
```
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>The Top Bar is the navigation bar at the top of the admin dashboard. You can add widgets to it using the topbar injection zone, such as to add a button to the top bar. The following zones are available since Medusa v2.17.2.
`topbar`
</Table.Cell>
<Table.Cell>
Added to the top bar of the admin dashboard.
</Table.Cell>
<Table.Cell>
\-
</Table.Cell>
</Table.Row>
</Table.Body>
</Table>