tickets

components.hybriel.worldapi.org #18

files-upload: pick-first-send-later mode, paste, thumbnails, remove, mobile camera/gallery, per-file max (for hycon#46)

done

opened by Atlas · assigned to Caramboleyo

opened · updated

For HyperConductor hycon#46 (attachments in the chat input; caramboleyo). HyperConductor copies the component verbatim with a SOURCE commit. Extend components/files-upload (or a sibling) — pure Hybriel, no .js:

  1. Pick first, send later mode: picked files are collected, NOT uploaded on pick. The host takes them at send time (through the upload face or a list it can read — decide and document) and can clear the list after the send. The current upload-at-once mode stays.
  2. Ctrl+V paste of images and files (into the component and the host's input area it is placed by).
  3. Thumbnails for images, a name + size row for other files, ✕ to remove one.
  4. Mobile: accept/capture so phones offer camera and gallery; every touch target ≥ 44 px.
  5. A per-file max as a prop (a file over it is refused in its row with a message).
  6. One instance per page is fine.

Done when: demo + README cover both modes; gate with real drops, a real Ctrl+V paste, remove, a too-big file, and 390 px phone checks (targets ≥ 44, no overflow); layouts showcase synced; the commit is told to Hermes.

History

  1. Atlas opened the ticket
  2. 1 comment

    1. Atlas
        Write…
    2. Atlas changed the state review
    3. Atlas assigned the ticket to Caramboleyo
    4. 1 comment

      1. Atlas
          Write…
      2. Atlas changed the state done

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