From d1726f0160659cdb261c81a25c6b3037f8581b17 Mon Sep 17 00:00:00 2001 From: Ryan Date: Mon, 5 May 2025 07:28:28 -0400 Subject: [PATCH] Refactor auth flow: add loading overlay, separate login, extract initializeApp --- CHANGELOG.md | 42 +++++++++++++++- public/api/file/symlink | 2 - public/index.html | 84 +++++++++++++++++++------------- public/js/adminPanel.js | 6 +-- public/js/auth.js | 103 ++++++++++++++++++++++++---------------- public/js/authModals.js | 2 +- public/js/i18n.js | 2 + public/js/main.js | 50 +++++++++---------- 8 files changed, 183 insertions(+), 108 deletions(-) delete mode 100644 public/api/file/symlink diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f49951..300fdc9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## Changes 5/4/2025 +## Changes 5/4/2025 v1.3.1 ### Modals @@ -10,9 +10,47 @@ - TOTP Login & Setup - Change Password - **Truncated** long filenames in the File Tags modal header using CSS `text-overflow: ellipsis`. -- **Resized** File Tags modal from 400px → 450px wide (with `max-width: 90vw` fallback). +- **Resized** File Tags modal from 400px to 450px wide (with `max-width: 90vw` fallback). - **Capped** User Panel height at 381px and hidden scrollbars to eliminate layout jumps on hover. +### HTML + +- **Moved** `
` out of `.main-wrapper` so the login form can show independently of the app shell. +- **Added** `
` immediately inside `` to cover the UI during auth checks. +- **Inserted** inline ` @@ -165,10 +180,42 @@ +
+
+
+
+
+
+ + +
+
+ + +
+ +
+ + +
+
+ +
+ +
+ + +
+
+
@@ -176,37 +223,6 @@
- -
-
-
-
- - -
-
- - -
- -
- - -
-
- -
- -
- - -
-
-
@@ -439,7 +455,7 @@
-