From 33f058fce79fb53b0245c92b8b8b106fc18f6936 Mon Sep 17 00:00:00 2001 From: Eugene P Date: Thu, 25 Apr 2024 16:53:49 +0300 Subject: [PATCH 1/4] fix: initial loading spinner not centered (for suspense fallback) (#1422) Signed-off-by: Eugene Panteleymonchuk --- client/src/app/App.scss | 13 ------------- client/src/app/components/Spinner.scss | 13 +++++++++++++ 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/client/src/app/App.scss b/client/src/app/App.scss index c80c0b24b..e98b59071 100644 --- a/client/src/app/App.scss +++ b/client/src/app/App.scss @@ -34,16 +34,3 @@ } } } - -.fixed-center-page { - background: var(--body-background); - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; -} diff --git a/client/src/app/components/Spinner.scss b/client/src/app/components/Spinner.scss index 54080fe9b..ac359a865 100644 --- a/client/src/app/components/Spinner.scss +++ b/client/src/app/components/Spinner.scss @@ -2,6 +2,19 @@ @import "../../scss/mixins"; @import "../../scss/variables"; +.fixed-center-page { + background: var(--body-background); + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; +} + .spinner { position: relative; top: 20px; From 5e1aa8f3f4d48edd9a914f972031581d9025be7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bego=C3=B1a=20Alvarez?= Date: Fri, 3 May 2024 12:43:33 +0200 Subject: [PATCH 2/4] chore: bump version to v3.3.9-rc.1 --- api/package-lock.json | 4 ++-- api/package.json | 2 +- client/package-lock.json | 4 ++-- client/package.json | 2 +- package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/package-lock.json b/api/package-lock.json index 433841760..fa4130cfd 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-api", - "version": "3.3.8", + "version": "3.3.9-rc.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-api", - "version": "3.3.8", + "version": "3.3.9-rc.1", "license": "Apache-2.0", "dependencies": { "@google-cloud/logging-winston": "^6.0.0", diff --git a/api/package.json b/api/package.json index 395a79300..8c7b927f6 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "explorer-api", "description": "API for Tangle Explorer", - "version": "3.3.8", + "version": "3.3.9-rc.1", "author": "Martyn Janes ", "repository": { "type": "git", diff --git a/client/package-lock.json b/client/package-lock.json index 83e0518f9..1512681f1 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-client", - "version": "3.3.8", + "version": "3.3.9-rc.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-client", - "version": "3.3.8", + "version": "3.3.9-rc.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/client/package.json b/client/package.json index 2684cc7c6..d97ab8ecf 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "explorer-client", "description": "Tangle Explorer UI", - "version": "3.3.8", + "version": "3.3.9-rc.1", "author": "Martyn Janes ", "type": "module", "repository": { diff --git a/package.json b/package.json index 0233d1b41..43bbe9156 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "explorer", "description": "Tangle Explorer", - "version": "3.3.8", + "version": "3.3.9-rc.1", "scripts": { "setup:client": "cd client && npm install && npm run postinstall", "setup:api": "cd api && npm install && npm run build-compile && npm run build-config", From a3cd69f73f58a08c94aab486be38a0bf78f6c804 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bego=C3=B1a=20Alvarez?= Date: Fri, 3 May 2024 16:56:50 +0200 Subject: [PATCH 3/4] chore: bump version to v3.3.9 --- api/package-lock.json | 4 ++-- api/package.json | 2 +- client/package-lock.json | 4 ++-- client/package.json | 2 +- package.json | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/api/package-lock.json b/api/package-lock.json index fa4130cfd..4446020a6 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-api", - "version": "3.3.9-rc.1", + "version": "3.3.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-api", - "version": "3.3.9-rc.1", + "version": "3.3.9", "license": "Apache-2.0", "dependencies": { "@google-cloud/logging-winston": "^6.0.0", diff --git a/api/package.json b/api/package.json index 8c7b927f6..f24bd9b7c 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "explorer-api", "description": "API for Tangle Explorer", - "version": "3.3.9-rc.1", + "version": "3.3.9", "author": "Martyn Janes ", "repository": { "type": "git", diff --git a/client/package-lock.json b/client/package-lock.json index 1512681f1..8f7a60cca 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-client", - "version": "3.3.9-rc.1", + "version": "3.3.9", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-client", - "version": "3.3.9-rc.1", + "version": "3.3.9", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/client/package.json b/client/package.json index d97ab8ecf..15d76df8b 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "explorer-client", "description": "Tangle Explorer UI", - "version": "3.3.9-rc.1", + "version": "3.3.9", "author": "Martyn Janes ", "type": "module", "repository": { diff --git a/package.json b/package.json index 43bbe9156..70df67ce7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "explorer", "description": "Tangle Explorer", - "version": "3.3.9-rc.1", + "version": "3.3.9", "scripts": { "setup:client": "cd client && npm install && npm run postinstall", "setup:api": "cd api && npm install && npm run build-compile && npm run build-config", From 76bb2e50229f8b4b805507ce7258592b8441ff84 Mon Sep 17 00:00:00 2001 From: JCNoguera <88061365+VmMad@users.noreply.github.com> Date: Mon, 6 May 2024 16:13:31 +0200 Subject: [PATCH 4/4] fix: basic authentication error with react (#1461) Co-authored-by: Bran <52735957+brancoder@users.noreply.github.com> --- client/src/index.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/client/src/index.tsx b/client/src/index.tsx index 8e7634c2c..89ddbc15a 100644 --- a/client/src/index.tsx +++ b/client/src/index.tsx @@ -55,8 +55,10 @@ const AppInitializer = () => { // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const container = document.getElementById("root")!; -const root = createRoot(container); -root.render(); +if (!container.hasChildNodes()) { + const root = createRoot(container); + root.render(); +} /** * Register all the services.