From b8552ac35d203ba6a60188446471e10c96bea647 Mon Sep 17 00:00:00 2001 From: Prayag Prajapati Date: Fri, 17 May 2024 09:48:38 +0530 Subject: [PATCH] refactor: implement new login logic and verify context.api status --- .vscode/settings.json | 5 +- index.html | 1 + src/components/appBar/appBar.tsx | 18 +- src/components/buttons/likeButton.jsx | 3 +- src/components/buttons/markPlayedButton.jsx | 3 +- src/components/buttons/playButton.tsx | 3 +- src/components/buttons/playNextButton.tsx | 3 +- src/components/buttons/playPreviousButtom.tsx | 2 +- src/components/buttons/queueButton.tsx | 2 +- src/components/card/card.tsx | 3 +- src/components/carouselSlide/index.tsx | 3 +- .../homeSection/latestMediaSection.jsx | 3 +- src/components/nProgress/index.tsx | 4 +- src/main.tsx | 3 +- src/routeTree.gen.ts | 85 +++- src/routes/__root.tsx | 28 +- src/routes/_api.tsx | 25 +- src/routes/_api/home/index.tsx | 1 + src/routes/_api/item/$id.tsx | 3 +- src/routes/_api/login/login.scss | 32 ++ src/routes/_api/login/manual.tsx | 476 +++++++++--------- src/routes/_api/series/$id.tsx | 284 ++++++----- src/routes/index.tsx | 82 +-- src/routes/setup/server.error.tsx | 6 + src/utils/store/api.tsx | 24 +- 25 files changed, 589 insertions(+), 513 deletions(-) create mode 100644 src/routes/setup/server.error.tsx diff --git a/.vscode/settings.json b/.vscode/settings.json index 5feb47e..9c7bccf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -23,5 +23,8 @@ "editor.defaultFormatter": "biomejs.biome" }, "rust-analyzer.linkedProjects": ["./src-tauri/Cargo.toml"], - "typescript.tsdk": "node_modules/typescript/lib" + "typescript.tsdk": "node_modules/typescript/lib", + "[scss]": { + "editor.defaultFormatter": "vscode.css-language-features" + } } diff --git a/index.html b/index.html index cc6dd97..e58979e 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ + Jellyplayer