Replaces the plain <input type="file"> with the same reader-dropzone component the Book/Source screen already uses (reused CSS, no new styles needed beyond grid/layout adjustments) -- drag a PDF onto the zone or click "Choose file", both paths route through the same hidden input magCreate() already reads via a DataTransfer handoff, so no other logic needed to change. Shows the chosen/dropped filename in place of the default hint text, and resets it after a successful add. Verified live: click-to-choose and a simulated real 'drop' DragEvent both populate the file input correctly, dragover highlighting toggles, no console errors from the app itself. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| css | ||
| dist | ||
| js | ||
| samples | ||
| sections | ||
| vendor | ||
| icon.svg | ||
| index.html | ||
| loader.js | ||
| manifest.webmanifest | ||
| module-manifest.json | ||
| nav.js | ||
| style.css | ||
| sw.js | ||