Fix warnings and update tracability
🏗️ Build and Test JellyTau / Run Tests (push) Failing after 14s
🏗️ Build and Test JellyTau / Build Android APK (push) Has been skipped
Traceability Validation / Check Requirement Traces (push) Failing after 1s

This commit is contained in:
2026-02-28 20:54:25 +01:00
parent c5be9eb18c
commit 3a9c126dfe
59 changed files with 1285 additions and 396 deletions
+11 -6
View File
@@ -11,10 +11,16 @@
let password = $state("");
let localError = $state<string | null>(null);
let username = $state("User");
let serverName = $state("Jellyfin Server");
const session = auth.getCurrentSession();
const username = session?.username ?? "User";
const serverName = session?.serverName ?? "Jellyfin Server";
// Load session info asynchronously
auth.getCurrentSession().then(session => {
if (session) {
username = session.username ?? "User";
serverName = session.serverName ?? "Jellyfin Server";
}
});
async function handleSubmit(event: Event) {
event.preventDefault();
@@ -35,15 +41,14 @@
}
function handleDismiss() {
auth.dismissReauth();
password = "";
localError = null;
onDismiss?.();
}
function handleBackdropClick(event: MouseEvent) {
function handleBackdropClick(event?: MouseEvent) {
// Don't close on backdrop click - require explicit action
event.stopPropagation();
event?.stopPropagation();
}
</script>