1
Fork 0
mirror of https://github.com/thegeneralist01/archivr synced 2026-07-21 18:55:36 +02:00

fix(frontend): accurate error message when playlist probe fails

Previous text said 'using best quality' implying the capture would
proceed, but probe error now blocks submission. Replace with 'Probe
failed — edit URL to retry' in orange (capture-quality-hint--error)
so the disabled button and the message are consistent.
This commit is contained in:
TheGeneralist 2026-07-20 22:58:38 +02:00
parent 1cc5f73ae1
commit 5e6a612010
Signed by: thegeneralist01
SSH key fingerprint: SHA256:pp9qddbCNmVNoSjevdvQvM5z0DHN7LTa8qBMbcMq/R4
6 changed files with 10 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -4,8 +4,8 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Archivr</title>
<script type="module" crossorigin src="/assets/index-DZAStbJ2.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-vCRGeW0A.css">
<script type="module" crossorigin src="/assets/index-A4sxjUxl.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-B0SNwnT5.css">
</head>
<body>
<div id="root"></div>

View file

@ -744,7 +744,11 @@ function CaptureRow({ item, autoFocus, onLocatorChange, onQualityChange, onRemov
)
}
if (item.playlistProbeState === 'error') {
return <span className="capture-quality-hint">Probe failed using best quality</span>
return (
<span className="capture-quality-hint capture-quality-hint--error">
Probe failed edit URL to retry
</span>
)
}
return null
}

View file

@ -890,6 +890,7 @@ select {
color: var(--muted);
font-style: italic;
}
.capture-quality-hint--error { color: #c05000; font-style: normal; }
/* Status dot */
.cap-dot {