nextcloud / nextcloud/ios

Allow drag and drop of files to, from, and within the app

Open
#1,982 4 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Swift
Stars
2.5k
Forks
1k
Avg merge
2d 18h
Merged PRs (30d)
13

Description

Right now with iOS/iPadOS 15, when you try to long press an item, it won't go anywhere. It would be nice if you could drag items like you can in the files app. Perhaps using UISpringLoadedInteraction.

It also seems that you can't drag and drop files into the app either, which seems really weird because that you can't do that because it's a fundamental part of working with files on any graphical system.

https://user-images.githubusercontent.com/50301900/166167877-b1190e04-a3a5-418b-a37b-448b5bc295d0.MOV

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by reproducing the behavior on iOS/iPadOS 15 and reviewing the app's file-item interactions alongside UIKit's UISpringLoadedInteraction and drag-and-drop APIs. Done means files can be dragged to, from, and within the app as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.