Repository navigation
Dropped items the composer can't attach should reach the agent on any environment #33071
YehudaGurovich
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Area
apps/web, apps/desktop, apps/server
Problem or use case
I drag folders and files from my file manager into the composer all day. On the local environment, a dropped folder becomes a path chip (#12001). On a remote environment, the same drop shows "Folders can only be referenced on a server running on this computer" and nothing reaches the agent. Files over 50 MB and some file types are refused on every environment (#17471).
The workaround is to leave T3 Code, copy the item to the host with scp, rsync or Taildrop, and type the remote path by hand. Hosts reached only through T3 Connect often have no inbound SSH, so there is no workaround at all (#31869).
Proposed behavior
One rule for every dropped item that the composer can't attach as an upload (a folder, a file over the attachment limit, or an unsupported type):
The copy:
.git,node_modulesand files that the folder's.gitignoreexcludes. The client asks before it sends more than a set size.webkitGetAsEntry, so it doesn't need a path).Smallest useful scope
Composer drops only, on desktop and web, for every connection type. Out of scope for the first version: drops on the Files pane (#32383) and the terminal (#31869), the mobile app, and sending only the changed files when the same folder is dropped again. These could reuse the same transfer later.
Related
#11961, #12001, #17471, #31869, #32383
All reactions