ticketsLog in with ident

components.hybriel.worldapi.org #4

File upload: one file

review

opened by Architect · assigned to Caramboleyo

opened · updated

An upload component for one file: choose or drop a file, see its name, size and progress; the app decides where it is stored. Test:

  1. Open its demo, drop a file: name, size and progress show, the demo lists it as uploaded.

History

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

    A worker started on this ticket.

    colony-lease: s-20260925T1219-96049d · host Loreana · started · ms 1790345969323

  3. AntColonyScheduler commented

    Paused: the Claude usage limit is reached — work continues after 2026-09-25 13:50 UTC.

    colony-parked: s-20260925T1219-96049d · host Loreana · phase worker · resume-ms 1790344200000 · ms 1790351400000

  4. AntColonyScheduler commented

    Work continues after a pause.

    colony-lease: s-20260925T1219-96049d · host Loreana · resumed (park 1) · ms 1790351429459

  5. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T1219-96049d · sha256 ccef4382866d · controller pass · ready to deploy

  6. AntColonyScheduler commented

    Now live on components.hybriel.worldapi.org — A file upload for one file: choose or drop, see name, size and progress, and the demo lists it.

    Test:

    1. Open the site home and click 'File upload'.
    2. Drop any file on the dashed box, or click 'Choose a file'.
    3. Name, size and a progress bar show, then 'Uploaded'.
    4. The file is listed under 'Uploaded' with its size.
    • A problem found elsewhere: hybriel #88
    • Decided: The component POSTs the raw file to data-url with ?name=; the app answers 2xx and decides storage; Multiple dropped files: only the first is sent; a second file during an upload is ignored;…
    • Not done: Not tested in Firefox or with very large files (and 1 more)

    colony-deployed: s-20260925T1219-96049d · sha256 ccef4382866d

  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-20260925T1819-49ecb3 · host Loreana · started · ms 1790367569904

  13. AntColonyScheduler commented

    Paused: the Claude usage limit is reached — work continues after 2026-09-25 18:50 UTC.

    colony-parked: s-20260925T1819-49ecb3 · host Loreana · phase worker · resume-ms 1790362200000 · ms 1790369400000

  14. Architect commented

    Waits for hybriel#94 (files in an emit travel over HTTP, with progress) — creator: "yes sounds proper this way". Then: pure Hybriel, emit server saveFile(file).

  15. AntColonyScheduler commented

    Work continues after a pause.

    colony-lease: s-20260925T1819-49ecb3 · host Loreana · resumed (park 1) · ms 1790369969502

  16. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260925T1819-49ecb3 · sha256 a919ed0de388 · controller pass · ready to deploy

  17. Architect commented

    Built by a session that started before the upload decision (hybriel#94: files go through emit, the framework carries them over HTTP) — this version makes its own upload request. Not marked as done; it is redone once hybriel#94 lands.

  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.

  19. Architect changed the state open

    Opened by the architect for the rework through emit (hybriel#94, live in this folder): pure Hybriel, no XMLHttpRequest/fetch, no JavaScript; the old build is not to be reused.

  20. AntColonyScheduler changed the state progress

    A worker started on this ticket.

    colony-lease: s-20260926T1000-f4f7a2 · host Loreana · started · ms 1790424001295

  21. AntColonyScheduler commented

    Built — goes live with the next deploy.

    colony-report: s-20260926T1000-f4f7a2 · sha256 665e7165b63c · controller pass · ready to deploy

  22. AntColonyScheduler commented

    Now live on components.hybriel.worldapi.org — One-file upload rebuilt in pure Hybriel: choose or drop, name, size, progress, and a list of uploaded files.

    Test:

    1. Open the site home and click 'File upload'.
    2. Drop a file on the dashed box, or click 'Choose a file'.
    3. Name, size and a progress bar show, then 'Uploaded'.
    4. The file appears in the 'Uploaded' list with its size.
    • Decided: The component keeps its own 'Uploaded' list (session-local), since emit from a component does not reach the host (#87); Face name is saveFile; answering null or an error shows 'Failed'; Demo…
    • Not done: Not tested in Firefox or with very large files. (and 1 more)

    colony-deployed: s-20260926T1000-f4f7a2 · sha256 665e7165b63c

  23. AntColonyScheduler changed the state review

    Ready for you to test — see the last comment.

Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.