Composer paste: hand pasted clipboard images to the runtime (FileSource::Clipboard) #365

Closed
opened 2026-11-12 22:53:02 +00:00 by charles · 1 comment
Owner

Text chat 21 (#271) gives the runtime upload_rt::PastedImages (Desktop::pasted_images()), which uploads read for FileSource::Clipboard(handle), and injects ClipboardImages into fluxer_ui::run. Nothing yet carries a pasted PNG from the window to PastedImages: fluxer-ui may not hold the runtime's types. Text chat 26 (paste) needs an injected trait (worded like the other sanctioned ones in CLAUDE.md) that keeps the PNG and returns the handle and a FileRef id (Desktop::file_id).

Text chat 21 (#271) gives the runtime `upload_rt::PastedImages` (`Desktop::pasted_images()`), which uploads read for `FileSource::Clipboard(handle)`, and injects `ClipboardImages` into `fluxer_ui::run`. Nothing yet carries a pasted PNG from the window to `PastedImages`: `fluxer-ui` may not hold the runtime's types. Text chat 26 (paste) needs an injected trait (worded like the other sanctioned ones in CLAUDE.md) that keeps the PNG and returns the handle and a `FileRef` id (`Desktop::file_id`).
charles added this to the Text chat milestone 2026-11-12 22:53:02 +00:00
Author
Owner

Done on textchat (c24495a): composer/mod.rs:16-17: a pasted image is attached through files::LocalFiles; apps/fluxer/src/desktop_rt.rs:17,74 (PastedImages)

Closed during the 2026-11-14 issue triage.

🤖 Generated with Claude Code

Done on `textchat` (c24495a): `composer/mod.rs:16-17`: a pasted image is attached through `files::LocalFiles`; `apps/fluxer/src/desktop_rt.rs:17,74` (`PastedImages`) Closed during the 2026-11-14 issue triage. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#365
No description provided.