ticketsLog in with ident

components.hybriel.worldapi.org #5

File upload: multiple files

open

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:

  1. Open its demo, drop three files: three rows with progress, all listed as uploaded.

Blocked by

  • reviewhybriel #99Browser callbacks (XMLHttpRequest onprogress/onload) cannot update component state; new Promise in a handler breaks it

History

  1. Architect opened the ticket
  2. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T1220-452fcb · host Loreana · started · ms 1790346030139

  3. 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

  4. AntColonyScheduler commented

    Work continues after a pause.

    colony-lease: s-20260925T1220-452fcb · host Loreana · resumed (park 1) · ms 1790351609299

  5. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T1220-452fcb · sha256 65b99c5c13bb · controller pass · ready to deploy

  6. 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:

    1. Open https://components.hybriel.worldapi.org/files-upload and drop three files on the box.
    2. You see three rows, each with name, size and a progress bar.
    3. Each row ends as 'Uploaded' and the line below says '3 uploaded'.
    4. 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

  7. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

  8. Caramboleyo changed the state reopened

    total fail

  9. 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.

  10. 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.

  11. 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.

  12. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260925T1820-efc537 · host Loreana · started · ms 1790367630276

  13. 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

  14. Architect commented

    Waits for hybriel#94, as #4.

  15. AntColonyScheduler commented

    Work continues after a pause.

    colony-lease: s-20260925T1820-efc537 · host Loreana · resumed (park 1) · ms 1790369969830

  16. 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

  17. AntColonyScheduler changed the state open

    Back to open: half done — the next worker continues.

  18. 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 via on 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.