feat: revamp login page and support disabling media server login (#1286)

* feat: support disabling jellyfin login

* feat: revamp login screen

Update the login screen for better usability, especially with OpenID
Connect and Plex login, allowing one-click login and removing the
accordion layout. Additionally, ensures that media server login is
hidden when disabled in the settings.

* test: update cypress login command
This commit is contained in:
Michael Thomas
2025-02-22 11:40:38 -05:00
committed by GitHub
parent 9712f56054
commit 73d8efaa54
23 changed files with 921 additions and 639 deletions

27
pnpm-lock.yaml generated
View File

@@ -170,6 +170,9 @@ importers:
react-toast-notifications:
specifier: 2.5.1
version: 2.5.1(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
react-transition-group:
specifier: ^4.4.5
version: 4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
react-truncate-markup:
specifier: 5.1.2
version: 5.1.2(react@18.3.1)
@@ -197,6 +200,9 @@ importers:
swr:
specifier: 2.2.5
version: 2.2.5(react@18.3.1)
tailwind-merge:
specifier: ^2.6.0
version: 2.6.0
typeorm:
specifier: 0.3.11
version: 0.3.11(pg@8.11.0)(sqlite3@5.1.4(encoding@0.1.13))(ts-node@10.9.1(@swc/core@1.6.5(@swc/helpers@0.5.11))(@types/node@22.10.5)(typescript@4.9.5))
@@ -8844,6 +8850,9 @@ packages:
peerDependencies:
react: ^16.11.0 || ^17.0.0 || ^18.0.0
tailwind-merge@2.6.0:
resolution: {integrity: sha512-P+Vu1qXfzediirmHOC3xKGAYeZtPcV9g76X+xg2FD4tYgR71ewMA35Y3sCz3zhiN/dwefRpJX0yBcgwi1fXNQA==}
tailwindcss@3.2.7:
resolution: {integrity: sha512-B6DLqJzc21x7wntlH/GsZwEXTBttVSl1FtCzC8WP4oBc/NKef7kaax5jeihkkCEWc831/5NDJ9gRNDK6NEioQQ==}
engines: {node: '>=12.13.0'}
@@ -11293,7 +11302,7 @@ snapshots:
'@emotion/babel-plugin@11.11.0':
dependencies:
'@babel/helper-module-imports': 7.24.7
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
'@emotion/hash': 0.9.1
'@emotion/memoize': 0.8.1
'@emotion/serialize': 1.1.4
@@ -11323,7 +11332,7 @@ snapshots:
'@emotion/core@10.3.1(react@18.3.1)':
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
'@emotion/cache': 10.0.29
'@emotion/css': 10.0.27
'@emotion/serialize': 0.11.16
@@ -11351,7 +11360,7 @@ snapshots:
'@emotion/react@11.11.4(@types/react@18.3.3)(react@18.3.1)':
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
'@emotion/babel-plugin': 11.11.0
'@emotion/cache': 11.11.0
'@emotion/serialize': 1.1.4
@@ -14254,13 +14263,13 @@ snapshots:
babel-plugin-macros@2.8.0:
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
cosmiconfig: 6.0.0
resolve: 1.22.8
babel-plugin-macros@3.1.0:
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
cosmiconfig: 7.1.0
resolve: 1.22.8
@@ -15350,7 +15359,7 @@ snapshots:
dom-helpers@5.2.1:
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
csstype: 3.1.3
dom-serializer@1.4.1:
@@ -19366,7 +19375,7 @@ snapshots:
react-transition-group@4.4.5(react-dom@18.3.1(react@18.3.1))(react@18.3.1):
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
dom-helpers: 5.2.1
loose-envify: 1.4.0
prop-types: 15.8.1
@@ -19493,7 +19502,7 @@ snapshots:
regenerator-transform@0.15.2:
dependencies:
'@babel/runtime': 7.24.7
'@babel/runtime': 7.26.0
regexp.prototype.flags@1.5.2:
dependencies:
@@ -20274,6 +20283,8 @@ snapshots:
react: 18.3.1
use-sync-external-store: 1.2.2(react@18.3.1)
tailwind-merge@2.6.0: {}
tailwindcss@3.2.7(postcss@8.4.21)(ts-node@10.9.1(@swc/core@1.6.5(@swc/helpers@0.5.11))(@types/node@22.10.5)(typescript@4.9.5)):
dependencies:
arg: 5.0.2