owncloud / owncloud/ios-app

Cancel uploads

Open
#175 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

feature:fileList feature:uploads p3-medium sdk-involved
Dominant language
Swift
Stars
251
Forks
142
Avg merge
2d 17h
Merged PRs (30d)
3

Description

As user, i want to cancel a progressing upload, so that i can save time and bandwidth if i select incorrectly a file to upload

Option to cancel a pending/ongoing upload is a good choice if the user select a wrong file or simply decides to put off the upload. Actually, uploads can not be cancelled and user must wait till upload finishes to get rid of the file. In case the file is huge, time and bandwidth are wasted.

Taking advantage of the lack of three-dot-button in cells of uploading files, set here a cancel option in the same place is a good choice.

AC:

  • In the list of files, the uploading file should display an option to cancel (activity involved?)
  • If the user cancels, upload stops and file is removed from the bookmark.
  • If the user cancels offline, upload process is dismissed and not resumed when user recovers connectivity

Operations done:

  • Uploads
  • Downloads

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 does not name files or tests. Start by tracing the file-list upload activity and the existing upload and download operations, then verify how cancellation behaves while online and offline. Done means an uploading file exposes a cancel option, cancellation stops the upload and removes the file from bookmarks, and an offline cancellation is not resumed after connectivity returns.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.