From 667b8852c0e343239b103ceb6045ab7bea2f6f3d Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 11 Feb 2020 10:58:33 +0100 Subject: [PATCH] feat(admin-ui): Thumbnails make use of focal point data Relates to #93 --- .../product-assets.component.html | 6 +++--- .../product-list/product-list.component.html | 6 +++--- .../product-variants-table.component.html | 2 +- .../providers/routing/asset-resolver.ts | 1 + .../admin-ui/src/app/common/generated-types.ts | 18 ++++++++++++++++-- .../data/definitions/product-definitions.ts | 18 ++++++++++++++++-- .../cancel-order-dialog.component.html | 2 +- .../fulfill-order-dialog.component.html | 2 +- .../order-detail/order-detail.component.html | 2 +- .../refund-order-dialog.component.html | 2 +- .../asset-gallery/asset-gallery.component.html | 2 +- .../asset-preview/asset-preview.component.html | 2 +- .../asset-preview/asset-preview.component.ts | 9 +++++++-- .../src/app/shared/pipes/asset-preview.pipe.ts | 16 ++++++++++++++++ .../src/app/shared/shared-declarations.ts | 1 + .../admin-ui/src/app/shared/shared.module.ts | 2 ++ 16 files changed, 72 insertions(+), 19 deletions(-) create mode 100644 packages/admin-ui/src/app/shared/pipes/asset-preview.pipe.ts diff --git a/packages/admin-ui/src/app/catalog/components/product-assets/product-assets.component.html b/packages/admin-ui/src/app/catalog/components/product-assets/product-assets.component.html index 0d14e8181e..940cea9b5f 100644 --- a/packages/admin-ui/src/app/catalog/components/product-assets/product-assets.component.html +++ b/packages/admin-ui/src/app/catalog/components/product-assets/product-assets.component.html @@ -3,7 +3,7 @@