From 3cdcc1fe619ca85ad64ec3c42a1e1aa964b0ab1b Mon Sep 17 00:00:00 2001 From: Syed Ali Abbas Zaidi <88369802+Syed-Ali-Abbas-Zaidi@users.noreply.github.com> Date: Mon, 16 Oct 2023 13:09:55 +0500 Subject: [PATCH 1/2] chore: bump frontend-platform (#216) --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9ce2a24c..cb6932a7 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@edx/browserslist-config": "^1.1.0", "@edx/frontend-component-footer": "^12.2.1", "@edx/frontend-enterprise-hotjar": "^2.0.0", - "@edx/frontend-platform": "^5.1.0", + "@edx/frontend-platform": "^5.5.4", "@edx/paragon": "^20.44.0", "@edx/react-unit-test-utils": "^1.7.0", "@fortawesome/fontawesome-svg-core": "^1.2.36", @@ -2480,9 +2480,9 @@ } }, "node_modules/@edx/frontend-platform": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-5.1.0.tgz", - "integrity": "sha512-/8Njj9015/1zf1Gn896JKhlcc2FIU/sbh0qkcckl74PtXS/p9GB29gTQJbhY7fCA/1grGNJurZvEaqkSU4ze8Q==", + "version": "5.5.4", + "resolved": "https://registry.npmjs.org/@edx/frontend-platform/-/frontend-platform-5.5.4.tgz", + "integrity": "sha512-Yum+oST7XfDwDnDhBnzeR/mjp6O+G0g+5AZtIJ1BdTKQH1z9FObfim/pfoiI9STiYlguVpeWMkzWuca/QMLO/Q==", "dependencies": { "@cospired/i18n-iso-languages": "4.1.0", "@formatjs/intl-pluralrules": "4.3.3", diff --git a/package.json b/package.json index 5b1a497e..1f54649b 100755 --- a/package.json +++ b/package.json @@ -30,7 +30,7 @@ "@edx/browserslist-config": "^1.1.0", "@edx/frontend-component-footer": "^12.2.1", "@edx/frontend-enterprise-hotjar": "^2.0.0", - "@edx/frontend-platform": "^5.1.0", + "@edx/frontend-platform": "^5.5.4", "@edx/paragon": "^20.44.0", "@edx/react-unit-test-utils": "^1.7.0", "@fortawesome/fontawesome-svg-core": "^1.2.36", From 38566b66ff42260645366b04bfe59119af15f8d7 Mon Sep 17 00:00:00 2001 From: Jason Wesson Date: Tue, 17 Oct 2023 07:12:51 +0000 Subject: [PATCH 2/2] fix: increase window height of plugin slot to allow for full profile plugin view --- .../LoadedSidebar/__snapshots__/index.test.jsx.snap | 10 ++-------- .../WidgetContainers/LoadedSidebar/index.jsx | 6 ++---- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/src/containers/WidgetContainers/LoadedSidebar/__snapshots__/index.test.jsx.snap b/src/containers/WidgetContainers/LoadedSidebar/__snapshots__/index.test.jsx.snap index a8c0ef37..673a38e9 100644 --- a/src/containers/WidgetContainers/LoadedSidebar/__snapshots__/index.test.jsx.snap +++ b/src/containers/WidgetContainers/LoadedSidebar/__snapshots__/index.test.jsx.snap @@ -18,16 +18,10 @@ exports[`WidgetSidebar snapshots default 1`] = ` } style={ Object { - "height": 400, + "height": 700, } } - > -
- This is default plugin content. -
- + /> `; diff --git a/src/containers/WidgetContainers/LoadedSidebar/index.jsx b/src/containers/WidgetContainers/LoadedSidebar/index.jsx index 7c197a7c..7c77e019 100644 --- a/src/containers/WidgetContainers/LoadedSidebar/index.jsx +++ b/src/containers/WidgetContainers/LoadedSidebar/index.jsx @@ -23,11 +23,9 @@ export const WidgetSidebar = ({ setSidebarShowing }) => { title: 'example plugins', }} style={{ - height: 400, + height: 700, }} - > -
This is default plugin content.
- + /> );