nandi/oripublic Fork 0
b6cd929ab1425a4ef6073ea9c189917cca02cf3c
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

0017-upload-files-with-drag-and-drop.yaml · 41 lines · 1.5 KBYAML Blame HistoryRaw
🛟 Updated. f5c963a k33g yesterday1# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2id: 17
3title: Upload files with drag and drop
4state: open
5author:
6 name: k33g
7 email: ph.charriere@gmail.com
8createdAt: 2026-09-18T00:00:00.000Z
9updatedAt: 2026-09-18T00:00:00.000Z
10labels: []
11body: |
12 Add the ability to upload files to the workspace using drag and drop.
13
14 Requirements:
15 - Drag and drop files from the host OS into the browser
16 - Upload files to the workspace directory (under `--cwd`)
17 - Visual feedback during drag (drop zone highlight)
18 - Progress indication for uploads
19 - Support for multiple files
20 - Support for directories (optional)
21
22 Implementation considerations:
23 - Backend: New endpoint for file uploads (e.g., `POST /api/upload` or extend `PUT /api/file`)
24 - Frontend: Drag and drop handlers on the workspace panel or file tree
25 - Should respect the existing 5 MiB file size limit (or adjust if needed)
26 - Binary file handling (currently rejected with 415)
27 - Destination path selection (drop on directory vs. root)
28 - File tree refresh after upload
29
30 Related existing functionality:
31 - `PUT /api/file` already handles file writes (text only, <5 MiB)
32 - File tree displays the workspace contents
33 - Binary files currently rejected (415 Unsupported Media Type)
34
35 Open questions:
36 - Allow binary file uploads or keep text-only restriction?
37 - Maximum total upload size (per request or cumulative)?
38 - Overwrite confirmation for existing files?
39 - Should drop target be the entire workspace panel, specific file tree area, or both?
40tasks: []
41comments: []