Skip to content

v0.2.0 — file chips, send without typing, no more 'images only' toast

Latest

Choose a tag to compare

@AKIRACOD AKIRACOD released this 14 Aug 08:44

v0.2.0 — file chips, send without typing, no more "images only" toast

A maintained fork of omdsh-dev/dsh-drag-and-drop (formerly bill9109) with a different drop experience.

What's changed

  • File chip bar: dropped documents/folders appear as removable chips in a bar right above the composer — the input box stays clean for typing (paths are no longer inserted as text into your message).
  • Send button in the chip bar: send just the dropped files without typing — resolved paths are prepended to the outgoing message automatically. Enter and the normal send button also work when you type alongside files.
  • "Images only" toast suppressed: document drops no longer trigger the composer's misleading "仅支持 PNG、JPG、WebP、GIF" error; a fallback observer hides matching toasts (e.g. from the paste gesture).
  • Images stay native: image-only drops keep the composer's thumbnail attachment behavior.
  • Overlay fix: document drops dispatch a synthetic dragend so the composer's drop overlay closes cleanly.

Install / upgrade

dsh plugin --profile web add github:AKIRACOD/dsh-drag-and-drop

After installing, restart the Web UI and hard-refresh the browser.

License

BSD-3-Clause (original work by bill9109 / omdsh-dev; this fork keeps the same license and attribution).