From 725fde1ae124b913d2c9e5da67e9613da1e18ceb Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 19 Aug 2025 21:10:51 +0200 Subject: [PATCH] impr: loading page improvements (@miodec) (#6893) - Refactor the loading page and the functions responsible for showing elements - Navigate loading options no longer override but they are used BEFORE the page loading options. Keyframes are scaled accordingly to transition smoothly - Removed the error element from the account page - Added a rejection / error handler to the loading page - Removed one more dependency from the account controller --- frontend/src/html/pages/account.html | 6 - frontend/src/html/pages/loading.html | 19 +-- frontend/src/styles/account.scss | 15 -- frontend/src/styles/loading.scss | 68 ++++---- .../src/ts/controllers/account-controller.ts | 24 +-- .../src/ts/controllers/page-controller.ts | 160 ++++++++++++------ .../src/ts/controllers/route-controller.ts | 2 +- frontend/src/ts/pages/account.ts | 39 ++--- frontend/src/ts/pages/loading.ts | 32 +++- 9 files changed, 197 insertions(+), 168 deletions(-) diff --git a/frontend/src/html/pages/account.html b/frontend/src/html/pages/account.html index 87795503f..c08e4bb30 100644 --- a/frontend/src/html/pages/account.html +++ b/frontend/src/html/pages/account.html @@ -1,10 +1,4 @@