Uppy issue
by tagliala
HTML
<!doctype html>
<html lang="en">
<meta charset="utf-8">
<meta name="referrer" content="no-referrer">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Uppy Dashboard error-state regression reproduction</title>
<style>
body { margin: 20px; font: 15px system-ui, sans-serif; color: #222; }
label, button { margin-right: 12px; }
button, select { padding: 6px; }
#panels { display: grid; grid-template-columns: repeat(auto-fit, minmax(430px, 1fr)); gap: 16px; margin-top: 18px; }
iframe { width: 100%; height: 620px; border: 1px solid #bbb; border-radius: 6px; }
@media (max-width: 480px) { #panels { grid-template-columns: 1fr; } }
</style>
<h1>Uppy Dashboard: failed-upload heading and retry button</h1>
<p>Self-contained UI reproduction using unmodified, prebuilt npm bundles from jsDelivr.
A synthetic uploader fails its first attempt and succeeds on retry. No files are uploaded and no server is needed.</p>
<p>Expected after failure: heading <strong>Error</strong>, a per-file retry button,
and a footer Retry button. Click either available retry control to confirm recovery.</p>
<label>Compare
<select id="comparison">
<option value="retry">Retry icon: last good / first bad / current</option>
<option value="heading-beta">Heading: exact prerelease boundary</option>
<option value="heading-stable">Heading: stable release boundary</option>
<option value="all">All release checkpoints</option>
</select>
</label>
<label><input id="progress" type="checkbox"> Emit progress before failing (control case)</label>
<button id="run" type="button">Run / reset comparison</button>
<p>Versions in the selector are the umbrella <code>uppy</code> package.
Each panel reports its actual <code>@uppy/core</code> and <code>@uppy/dashboard</code> versions.</p>
<div id="panels"></div>
<script>
// This function runs independently inside each version's iframe.
async function runDemo(configuration) {
...