From a6e63a86860ae455423d8f95c6b2295ea0214e47 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 2 Oct 2023 13:25:05 +0000 Subject: [PATCH 1/8] chore(deps): update dependency glob to v10.3.10 --- package-lock.json | 16 ++++++++-------- package.json | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index f6cdde231..0fdb9d259 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53,7 +53,7 @@ "@wojtekmaj/enzyme-adapter-react-17": "0.8.0", "codecov": "3.8.3", "enzyme": "3.11.0", - "glob": "10.3.7", + "glob": "10.3.10", "react-test-renderer": "17.0.2", "reactifex": "1.1.1", "redux-mock-store": "1.5.4" @@ -10867,13 +10867,13 @@ "integrity": "sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw==" }, "node_modules/glob": { - "version": "10.3.7", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.7.tgz", - "integrity": "sha512-wCMbE1m9Nx5yD9LYtgsVWq5VhHlk5WzJirw594qZR6AIvQYuHrdDtIktUVjQItalD53y7dqoedu9xP0u0WaxIQ==", + "version": "10.3.10", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.3.10.tgz", + "integrity": "sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==", "dev": true, "dependencies": { "foreground-child": "^3.1.0", - "jackspeak": "^2.0.3", + "jackspeak": "^2.3.5", "minimatch": "^9.0.1", "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0", "path-scurry": "^1.10.1" @@ -12593,9 +12593,9 @@ "integrity": "sha512-QZ9qOMdF+QLHxy1QIpUHUU1D5pS2CG2P69LF6L6CPjPYA/XMOmKV3PZpawHoAjHNyB0swdVTRxdYT4tbBbxqwg==" }, "node_modules/jackspeak": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.2.1.tgz", - "integrity": "sha512-MXbxovZ/Pm42f6cDIDkl3xpwv1AGwObKwfmjs2nQePiy85tP3fatofl3FC1aBsOtP/6fq5SbtgHwWcMsLP+bDw==", + "version": "2.3.6", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-2.3.6.tgz", + "integrity": "sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==", "dev": true, "dependencies": { "@isaacs/cliui": "^8.0.2" diff --git a/package.json b/package.json index b96b0d2fb..fca674959 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "@wojtekmaj/enzyme-adapter-react-17": "0.8.0", "codecov": "3.8.3", "enzyme": "3.11.0", - "glob": "10.3.7", + "glob": "10.3.10", "react-test-renderer": "17.0.2", "reactifex": "1.1.1", "redux-mock-store": "1.5.4" From 9623f56c48e69dcd5db294542cd6a6dcf60f88a8 Mon Sep 17 00:00:00 2001 From: Jason Wesson Date: Tue, 3 Oct 2023 03:30:01 +0000 Subject: [PATCH 2/8] build: create profile plugin page --- src/index.jsx | 8 +- src/profile/ProfilePluginPage.jsx | 265 ++++++++++++++++++++++++++++++ src/profile/index.js | 1 + src/routes/AppRoutes.jsx | 3 +- src/routes/routes.test.jsx | 17 ++ 5 files changed, 292 insertions(+), 2 deletions(-) create mode 100644 src/profile/ProfilePluginPage.jsx diff --git a/src/index.jsx b/src/index.jsx index 8a6bde80a..6912ebf80 100755 --- a/src/index.jsx +++ b/src/index.jsx @@ -15,6 +15,7 @@ import { import React from 'react'; import ReactDOM from 'react-dom'; +import { useLocation } from 'react-router-dom'; import Header from '@edx/frontend-component-header'; import Footer from '@edx/frontend-component-footer'; @@ -27,6 +28,11 @@ import Head from './head/Head'; import AppRoutes from './routes/AppRoutes'; +const RealFooter = () => { + const location = useLocation(); + return ['/u/edx/plugin'].includes(location.pathname) ? <> :