From 69eeb4c280f09bf310aa1c86306b9d57b58a5b0b Mon Sep 17 00:00:00 2001 From: Jonatan Witoszek Date: Fri, 24 Jun 2022 14:17:58 +0200 Subject: [PATCH] Pass query params for product and order details app mounting points (#2100) * Pass query params to iframe from dashboard * Pass search params in product details and order details extensions * Move released features in Changelog * Add entry to chagnelog * Fix ESLint issues --- CHANGELOG.md | 7 +++ src/apps/components/AppFrame/AppFrame.tsx | 6 ++- .../ExternalAppContext/ExternalAppContext.tsx | 7 ++- src/apps/urls.ts | 8 ++- src/apps/useExtensions.ts | 52 +++++++++++++++---- .../OrderDetailsPage/OrderDetailsPage.tsx | 7 ++- .../ProductUpdatePage/ProductUpdatePage.tsx | 7 ++- 7 files changed, 77 insertions(+), 17 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 258313f5a..153e357c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,10 +3,17 @@ All notable, unreleased changes to this project will be documented in this file. For the released changes, please visit the [Releases](https://github.com/saleor/saleor-dashboard/releases) page. ## [Unreleased] + +- Pass query params in `ORDER_DETAILS_MORE_ACTIONS` and `PRODUCT_DETAILS_MORE_ACTIONS` mounting points - #2100 by @witoszekdev + +## 3.4 + - Added links instead of imperative navigation with onClick - #1969 by @taniotanio7 - Fixed clearing attribute values - #2047 by @witoszekdev - Fixed EditorJS integration in RichTextEditor input - #2052 by @witoszekdev - Improvements to the app list page: added toggle and permision preview - #2035 by @witoszekdev +### 3.4.1 + - Added links to table pagination buttons - #2063 by @witoszekdev - Using push instead of replace to history stack for pagination navigation - #2063 by @witoszekdev diff --git a/src/apps/components/AppFrame/AppFrame.tsx b/src/apps/components/AppFrame/AppFrame.tsx index 8f846657e..f157b8f1c 100644 --- a/src/apps/components/AppFrame/AppFrame.tsx +++ b/src/apps/components/AppFrame/AppFrame.tsx @@ -55,7 +55,11 @@ export const AppFrame: React.FC = ({ return (