Drag-and-drop upload on share-upload pages (parity with the main file view) #194

Closed
opened 2026-08-11 15:56:50 +00:00 by Cordy · 0 comments
Owner

Dogfood (Nikola, v0.6.8): created a "key in link" share with uploads allowed. The file-picker upload works, but dropping files onto the page does nothing — unlike the main Cairn file view, which accepts drag-and-drop uploads.

Add drag-and-drop upload to the share-upload surface so it matches the main UI: a drop target with the usual dragover affordance, POSTing to the same share upload endpoint the picker already uses.

Notes:

  • Distinct from #179 (drag-and-drop move inside the main UI) — this is upload onto the public share-upload page.
  • Scope check while implementing: confirm whether the share-upload page is served by internal/share/public.go (standalone) or the main SPA in a share context, and wire the drop handler there.

Batched into the frontend batch (v0.6.9).

Dogfood (Nikola, v0.6.8): created a "key in link" share with uploads allowed. The **file-picker** upload works, but **dropping files onto the page does nothing** — unlike the main Cairn file view, which accepts drag-and-drop uploads. Add drag-and-drop upload to the share-upload surface so it matches the main UI: a drop target with the usual dragover affordance, POSTing to the same share upload endpoint the picker already uses. Notes: - Distinct from #179 (drag-and-drop *move* inside the main UI) — this is *upload* onto the public share-upload page. - Scope check while implementing: confirm whether the share-upload page is served by `internal/share/public.go` (standalone) or the main SPA in a share context, and wire the drop handler there. Batched into the frontend batch (v0.6.9).
Cordy closed this issue 2026-08-11 17:02:59 +00:00
Sign in to join this conversation.
No labels
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: Cordy/Cairn#194
No description provided.