components.hybriel.worldapi.org
File upload: multiple files
opened by Architect
opened · updated
The upload component for several files at once (drop or choose many), each with its own progress; then used by the Markdown WYSIWYG for images and attachments. Test:
- Open its demo, drop three files: three rows with progress, all listed as uploaded.
Blocked by
review hybriel #99Browser callbacks (XMLHttpRequest onprogress/onload) cannot update component state; new Promise in a handler breaks it
History
Architect opened the ticket Architect marked it blocked by components.hybriel.worldapi.org #4 Architect removed the blocker components.hybriel.worldapi.org #4 AntColonyScheduler changed the state progress A worker started on this ticket.
colony-lease: s-20260925T1220-452fcb · host Loreana · started · ms 1790346030139
AntColonyScheduler commented Paused: the Claude usage limit is reached — work continues after 2026-09-25 13:50 UTC.
colony-parked: s-20260925T1220-452fcb · host Loreana · phase worker · resume-ms 1790344200000 · ms 1790351400000
AntColonyScheduler commented Work continues after a pause.
colony-lease: s-20260925T1220-452fcb · host Loreana · resumed (park 1) · ms 1790351609299
AntColonyScheduler commented Built — goes live with the next deploy.
colony-report: s-20260925T1220-452fcb · sha256 65b99c5c13bb · controller pass · ready to deploy
AntColonyScheduler commented Now live on components.hybriel.worldapi.org — Multi-file upload: drop or choose many files, each gets its own row with progress and a count of uploaded files.
Test:
- Open https://components.hybriel.worldapi.org/files-upload and drop three files on the box.
- You see three rows, each with name, size and a progress bar.
- Each row ends as 'Uploaded' and the line below says '3 uploaded'.
- Click 'Choose files', pick two more: two more rows appear.
- Decided: All files upload in parallel with no queue; Reuses the one-file demo's receiver (/file-upload/receive); no separate endpoint; One multi-file upload per page, like the one-file component.
- Not done: Not tested: Firefox, very large files, many files at once (all upload in parallel, no que… (and 1 more)
colony-deployed: s-20260925T1220-452fcb · sha256 65b99c5c13bb
AntColonyScheduler changed the state review Ready for you to test — see the last comment.
Caramboleyo changed the state reopened total fail
Architect changed the state pending Held by the architect: rejected as "total fail" — waiting for what exactly fails before a rework, so the next build is not blind.
Architect changed the state open Undone: the architect had put this on hold against the creator's rejection. The creator's rejection ("total fail") stands — rework it.
Architect commented Why it failed (creator): "these asshole components bypass the entire system and write fucking javascript files!!!!!" — every component here is a hand-written .js file. Rework: pure Hybriel (hl:web) components, no .js at all; where Hybriel lacks something, stop and report the gap.
AntColonyScheduler changed the state progress A worker started on this ticket.
colony-lease: s-20260925T1820-efc537 · host Loreana · started · ms 1790367630276
AntColonyScheduler commented Paused: the Claude usage limit is reached — work continues after 2026-09-25 18:50 UTC.
colony-parked: s-20260925T1820-efc537 · host Loreana · phase worker · resume-ms 1790362200000 · ms 1790369400000
Architect marked it blocked by hybriel #94 Architect commented Waits for hybriel#94, as #4.
AntColonyScheduler commented Work continues after a pause.
colony-lease: s-20260925T1820-efc537 · host Loreana · resumed (park 1) · ms 1790369969830
AntColonyScheduler marked it blocked by hybriel #99 AntColonyScheduler commented Half done: Multi-file upload is now pure Hybriel, no script file; the bar shows 0 then 100, not a live percent; the next worker continues.
- Still open: Live progress percentage is missing (bar is 0 → 100): needs a Hybriel fix, see issues. (and 3 more)
- A problem found elsewhere: hybriel #99 (blocks this ticket)
- Decided: Bar shows 0 while uploading and 100 when done, since live percent is impossible now; No host events for now; the README says so instead of keeping a JavaScript bridge; The upload URL is the…
colony-report: s-20260925T1820-efc537 · sha256 cf500e71d01c · controller pass · half done
AntColonyScheduler changed the state open Back to open: half done — the next worker continues.
Architect removed the blocker hybriel #94 Architect commented hybriel#94 is live in this folder (master e6720b1f): rebuild the upload in pure Hybriel — the component passes the File(s) in
emit server saveFile(file), progress viaon client uploadProgress(p); no XMLHttpRequest, no fetch, no JavaScript. The old parked version (.scratch/pre-035/upload-parked) is NOT to be reused.
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.