Compare commits

..

1 Commits

Author SHA1 Message Date
Crowdin Bot 493c2fbffd New Crowdin translations by GitHub Action
Lint / Linting Checks (push) Waiting to run
Tests / vitest (1) (push) Waiting to run
Tests / vitest (2) (push) Waiting to run
Tests / vitest (3) (push) Waiting to run
Tests / vitest (4) (push) Waiting to run
2026-09-07 00:57:49 +00:00
44 changed files with 319 additions and 141 deletions
+10 -5
View File
@@ -21,7 +21,7 @@
"seconds": "s"
},
"auth": {
"signout": "Sign out"
"signout": "Teken uit"
},
"widget": {
"missing_type": "Ontbrekende legstuk-tipe: {{type}}",
@@ -40,8 +40,8 @@
},
"search": {
"placeholder": "Soek…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
"provider": "Soekenjin: {{name}}",
"select_provider": "Kies soekenjin"
},
"resources": {
"cpu": "SVE",
@@ -99,7 +99,12 @@
"unhealthy": "Ongesond",
"not_found": "Nie Gevind Nie",
"exited": "Verlaat",
"partial": "Gedeeltelik"
"partial": "Gedeeltelik",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Fout",
@@ -474,7 +479,7 @@
"users": "Gebruikers",
"loginsLast24H": "Aantekenings (24h)",
"failedLoginsLast24H": "Mislukte Aantekenings (24h)",
"authorizationsLast24H": "Auths (24h)"
"authorizationsLast24H": "Magtigings (24h)"
},
"proxmox": {
"mem": "GEH",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "غير سليم",
"not_found": "غير موجود",
"exited": "خرجت",
"partial": "جزئي"
"partial": "جزئي",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "خطأ",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Нездравословен",
"not_found": "Не е открит",
"exited": "Напуснал",
"partial": "Частично"
"partial": "Частично",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Грешка",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "No saludable",
"not_found": "No trobat",
"exited": "Tancat",
"partial": "Parcial"
"partial": "Parcial",
"created": "Creat",
"paused": "Pausat",
"restarting": "Reiniciant",
"removing": "Eliminant",
"dead": "Mort"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Nezdravý",
"not_found": "Nenalezen",
"exited": "Ukončen",
"partial": "Částečný"
"partial": "Částečný",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Chyba",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Usund",
"not_found": "Ikke Fundet",
"exited": "Forladt",
"partial": "Delvis"
"partial": "Delvis",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Fehlerhaft",
"not_found": "Nicht gefunden",
"exited": "Beendet",
"partial": "Teilweise"
"partial": "Teilweise",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Fehler",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Άρρωστο",
"not_found": "Δεν βρέθηκε",
"exited": "Έκλεισε",
"partial": "Μερικό"
"partial": "Μερικό",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Malsana",
"not_found": "Ne trovita",
"exited": "Eliris",
"partial": "Parta"
"partial": "Parta",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "No saludable",
"not_found": "No encontrado",
"exited": "Terminado",
"partial": "Parcial"
"partial": "Parcial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Mauvaise santé",
"not_found": "Inconnu",
"exited": "Arrêté",
"partial": "Partiel"
"partial": "Partiel",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Erreur",
+64 -59
View File
@@ -21,7 +21,7 @@
"seconds": "שניות"
},
"auth": {
"signout": "Sign out"
"signout": "התנתק"
},
"widget": {
"missing_type": "סוג ווידג'ט חסר: {{type}}",
@@ -40,8 +40,8 @@
},
"search": {
"placeholder": "חיפוש…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
"provider": "מנוע חיפוש: {{name}}",
"select_provider": "בחר מנוע חיפוש"
},
"resources": {
"cpu": "מעבד",
@@ -72,18 +72,18 @@
"empty_data": "מצב תת-מערכת לא ידוע"
},
"unifi_drive": {
"healthy": "Healthy",
"degraded": "Degraded",
"no_data": "No storage data available"
"healthy": "בריא",
"degraded": "ירוד",
"no_data": "אין אחסון זמין"
},
"duplicati": {
"jobs": "Jobs",
"stored": "Stored",
"jobs": "משימות",
"stored": "שמור",
"lastBackup": "Last Run",
"nextRun": "Next Run",
"running": "Running",
"warnings": "Warnings",
"errors": "Errors"
"warnings": "הזהרות",
"errors": "שגיאות"
},
"docker": {
"rx": "RX",
@@ -99,7 +99,12 @@
"unhealthy": "לא בריא",
"not_found": "לא נמצא",
"exited": "יצא",
"partial": "חלקי"
"partial": "חלקי",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "שגיאה",
@@ -127,15 +132,15 @@
"songs": "שירים"
},
"jellyfin": {
"playing": "Playing",
"playing": "מנגן",
"transcoding": "Transcoding",
"bitrate": "Bitrate",
"no_active": "No Active Streams",
"movies": "Movies",
"series": "Series",
"episodes": "Episodes",
"songs": "Songs",
"albums": "Albums"
"no_active": "אין מדיה פעילה",
"movies": "סרטים",
"series": "סדרות",
"episodes": "פרקים",
"songs": "שירים",
"albums": "אלבומים"
},
"esphome": {
"offline": "מכובה",
@@ -310,11 +315,11 @@
"available": "זמין"
},
"seerr": {
"pending": "Pending",
"approved": "Approved",
"available": "Available",
"completed": "Completed",
"processing": "Processing",
"pending": "ממתין",
"approved": "מאושר",
"available": "זמין",
"completed": "הסתיים",
"processing": "מעבד",
"issues": "Open Issues"
},
"netalertx": {
@@ -359,16 +364,16 @@
"address": "כתובת",
"expires": "תאריך תפוגה",
"never": "אף פעם",
"user": "User",
"user": "משתמש",
"hostname": "Hostname",
"name": "Name",
"name": "שם",
"client_version": "Client Version",
"os": "OS",
"created": "Created",
"authorized": "Authorized",
"is_external": "Is External",
"update_available": "Update Available",
"tags": "Tags",
"os": "מערכת הפעלה",
"created": "יוצר",
"authorized": "מורשה",
"is_external": "האם חיצוני",
"update_available": "עדכון זמין",
"tags": "תגיות",
"last_seen": "נראה לאחרונה",
"now": "כעת",
"years": "{{number}}y",
@@ -378,8 +383,8 @@
"minutes": "{{number}}m",
"seconds": "{{number}}s",
"ago": "{{value}} Ago",
"true": "Yes",
"false": "No"
"true": "כן",
"false": "לא"
},
"technitium": {
"totalQueries": "שאילתות",
@@ -484,7 +489,7 @@
},
"pulse": {
"nodes": "Nodes",
"vms": "VMs",
"vms": "מכונות וירטואליות",
"lxcs": "LXCs"
},
"glances": {
@@ -584,7 +589,7 @@
"up": "למעלה",
"pending": "ממתין",
"down": "למטה",
"ok": "Ok"
"ok": "אוקיי"
},
"healthchecks": {
"new": "חדש",
@@ -653,9 +658,9 @@
},
"pangolin": {
"orgs": "Orgs",
"sites": "Sites",
"resources": "Resources",
"targets": "Targets",
"sites": "אתרים",
"resources": "משאבים",
"targets": "מטרות",
"traffic": "Traffic",
"in": "In",
"out": "Out"
@@ -757,7 +762,7 @@
"volumeAvailable": "זמין"
},
"dispatcharr": {
"channels": "Channels",
"channels": "ערוצים",
"streams": "Streams"
},
"mylar": {
@@ -1182,9 +1187,9 @@
"nextRenewingSubscription": "תשלום הבא"
},
"unraid": {
"STARTED": "Started",
"STOPPED": "Stopped",
"NEW_ARRAY": "New Array",
"STARTED": "התחיל",
"STOPPED": "נעצר",
"NEW_ARRAY": "מערך חדש",
"RECON_DISK": "Reconstructing Disk",
"DISABLE_DISK": "Disk Disabled",
"SWAP_DSBL": "Swap Disable",
@@ -1196,31 +1201,31 @@
"notifications": "Notifications",
"status": "Status",
"cpu": "CPU",
"memoryUsed": "Memory Used",
"memoryAvailable": "Memory Available",
"memoryUsed": "זיכרון בשימוש",
"memoryAvailable": "זיכרון זמין",
"arrayUsed": "Array Used",
"arrayFree": "Array Free",
"poolUsed": "{{pool}} Used",
"poolFree": "{{pool}} Free"
},
"backrest": {
"num_plans": "Plans",
"num_success_30": "Successes",
"num_failure_30": "Failures",
"num_plans": "תוכניות",
"num_success_30": "הצלחות",
"num_failure_30": "כשלונות",
"num_success_latest": "Succeeding",
"num_failure_latest": "Failing",
"bytes_added_30": "Bytes Added"
},
"yourspotify": {
"songs": "Songs",
"time": "Time",
"artists": "Artists"
"songs": "שירים",
"time": "זמן",
"artists": "אומנים"
},
"arcane": {
"containers": "Containers",
"images": "Images",
"image_updates": "Image Updates",
"images_unused": "Unused",
"images_unused": "לא בשימוש",
"environment_required": "Environment ID Required"
},
"dockhand": {
@@ -1230,7 +1235,7 @@
"memory": "Memory",
"images": "Images",
"volumes": "Volumes",
"events_today": "Events Today",
"events_today": "אירועים היום",
"pending_updates": "Pending Updates",
"stacks": "Stacks",
"paused": "Paused",
@@ -1238,16 +1243,16 @@
"environment_not_found": "Environment Not Found"
},
"sparkyfitness": {
"eaten": "Eaten",
"burned": "Burned",
"remaining": "Remaining",
"steps": "Steps"
"eaten": "נאכלו",
"burned": "נשרפו",
"remaining": "נותרו",
"steps": "צעדים"
},
"syncthing": {
"connected": "Connected",
"synced": "Synced",
"errors": "Errors",
"storage": "Storage"
"synced": "מסונכרן",
"errors": "שגיאות",
"storage": "אחסון"
},
"sportarr": {
"wanted": "Wanted",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Nefunkcionalno",
"not_found": "Nepronađeno",
"exited": "Zatoreno",
"partial": "Djelomično"
"partial": "Djelomično",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Greška",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Egészségtelen",
"not_found": "Nem található",
"exited": "Kilépett",
"partial": "Részleges"
"partial": "Részleges",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Hiba",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Tidak Lancar",
"not_found": "Tidak Ditemukan",
"exited": "Terkeluar",
"partial": "Sebagian"
"partial": "Sebagian",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Non sano",
"not_found": "Non trovato",
"exited": "Uscito",
"partial": "Parziale"
"partial": "Parziale",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Errore",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "非健全",
"not_found": "不明",
"exited": "停止しました",
"partial": "部分的"
"partial": "部分的",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "エラー",
+8 -3
View File
@@ -40,8 +40,8 @@
},
"search": {
"placeholder": "검색…",
"provider": "Search engine: {{name}}",
"select_provider": "Select search engine"
"provider": "검색 엔진: {{name}}",
"select_provider": "검색 엔진 선택"
},
"resources": {
"cpu": "CPU",
@@ -99,7 +99,12 @@
"unhealthy": "비정상",
"not_found": "찾을 수 없음",
"exited": "종료됨",
"partial": "부분적"
"partial": "부분적",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "오류",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Kurang sihat",
"not_found": "Tidak dijumpai",
"exited": "Dimatikan",
"partial": "Sebahagian"
"partial": "Sebahagian",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Ongezond",
"not_found": "Niet Gevonden",
"exited": "Gestopt",
"partial": "Gedeeltelijk"
"partial": "Gedeeltelijk",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Fout",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Usunn",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Delvis"
"partial": "Delvis",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Niezdrowy",
"not_found": "Nie znaleziono",
"exited": "Zakończony",
"partial": "Częściowy"
"partial": "Częściowy",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Błąd",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Não-saudável",
"not_found": "Não Encontrado",
"exited": "Saiu",
"partial": "Parcial"
"partial": "Parcial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Erro",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Não-saudável",
"not_found": "Não Encontrado",
"exited": "Encerrado",
"partial": "Parcial"
"partial": "Parcial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Erro",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Nesănătos",
"not_found": "Negăsit",
"exited": "Ieşit",
"partial": "Parțial"
"partial": "Parțial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Нездоровый",
"not_found": "Не найдено",
"exited": "Вышел",
"partial": "Частичный"
"partial": "Частичный",
"created": "Создан",
"paused": "Приостановлен",
"restarting": "Перезапуск",
"removing": "Удаление",
"dead": "Мёртв"
},
"ping": {
"error": "Ошибка",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Nezdravý",
"not_found": "Nenájdené",
"exited": "Ukončené",
"partial": "Čiastočný"
"partial": "Čiastočný",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Chyba",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Ni zdrav",
"not_found": "Ni najden",
"exited": "V izhodu",
"partial": "Delni"
"partial": "Delni",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Нездравих",
"not_found": "Није пронађено",
"exited": "Напуштених",
"partial": "Делимично"
"partial": "Делимично",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Грешка",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Unhealthy",
"not_found": "Not Found",
"exited": "Exited",
"partial": "Partial"
"partial": "Partial",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Sağlıksız",
"not_found": "Bulunamadı",
"exited": "Kapandı",
"partial": "Kısmi"
"partial": "Kısmi",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Hata",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Нездоровий",
"not_found": "Не знайдено",
"exited": "Вийшов",
"partial": "Частковий"
"partial": "Частковий",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Помилка",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "Bất thường",
"not_found": "Không tìm thấy",
"exited": "Đã thoát",
"partial": "Một phần"
"partial": "Một phần",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Lỗi",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "不健康的",
"not_found": "未找到",
"exited": "已退出",
"partial": "部分"
"partial": "部分",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "不健康",
"not_found": "未找到",
"exited": "已退出",
"partial": "部分"
"partial": "部分",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "错误",
+6 -1
View File
@@ -99,7 +99,12 @@
"unhealthy": "不健康的",
"not_found": "找不到",
"exited": "已退出",
"partial": "部分"
"partial": "部分",
"created": "Created",
"paused": "Paused",
"restarting": "Restarting",
"removing": "Removing",
"dead": "Dead"
},
"ping": {
"error": "Error",
+3 -4
View File
@@ -124,8 +124,8 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea
? MOBILE_BUTTON_POSITIONS[settings.quicklaunch.mobileButtonPosition]
: null;
function openCurrentItem(newWindow, index = activeItemIndex) {
const result = results[index];
function openCurrentItem(newWindow) {
const result = results[activeItemIndex];
window.open(
result.href,
newWindow ? "_blank" : (result.target ?? searchProvider?.target ?? settings.target ?? "_blank"),
@@ -180,8 +180,7 @@ export default function QuickLaunch({ servicesAndBookmarks, searchString, setSea
function handleItemClick(event) {
closeAndReset();
// in case hover doesnt fire, use the clicked item, not the highlighted one
openCurrentItem(event.metaKey, parseInt(event.currentTarget.dataset.index, 10));
openCurrentItem(event.metaKey);
}
function handleItemKeyDown(event) {
-31
View File
@@ -263,37 +263,6 @@ describe("components/quicklaunch", () => {
openSpy.mockRestore();
});
it("opens the clicked result even without a preceding hover event", async () => {
const openSpy = vi.spyOn(window, "open").mockImplementation(() => null);
renderWithProviders(
<Wrapper
servicesAndBookmarks={[
{ name: "Alpha", href: "https://alpha.example" },
{ name: "Alpine", href: "https://alpine.example" },
{ name: "Almond", href: "https://almond.example" },
]}
/>,
{ settings: { target: "_self", quicklaunch: { showSearchSuggestions: false } } },
);
const input = screen.getByPlaceholderText("Search");
await waitFor(() => expect(input).toHaveFocus());
fireEvent.change(input, { target: { value: "al" } });
await waitFor(() => expect(document.querySelector('button[data-index="2"]')).toBeTruthy());
// touch devices don't fire mouseEnter, so the highlighted item is still the first one
fireEvent.click(document.querySelector('button[data-index="2"]'));
await act(async () => {
await new Promise((r) => setTimeout(r, 350));
});
expect(openSpy).toHaveBeenCalledWith("https://almond.example", "_self", "noreferrer");
openSpy.mockRestore();
});
it("handles Escape on a result button (not just the input)", async () => {
renderWithProviders(<Wrapper servicesAndBookmarks={[{ name: "Alpha", href: "https://alpha.example" }]} />, {
settings: { quicklaunch: { showSearchSuggestions: false } },