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:
parent
1cc5f73ae1
commit
5e6a612010
6 changed files with 10 additions and 5 deletions
File diff suppressed because one or more lines are too long
1
crates/archivr-server/static/assets/index-B0SNwnT5.css
Normal file
1
crates/archivr-server/static/assets/index-B0SNwnT5.css
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -890,6 +890,7 @@ select {
|
|||
color: var(--muted);
|
||||
font-style: italic;
|
||||
}
|
||||
.capture-quality-hint--error { color: #c05000; font-style: normal; }
|
||||
|
||||
/* Status dot */
|
||||
.cap-dot {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue