owncloud / owncloud/android

Download status to be removed. Only Av. Offline.

Open
#3,289 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Available Offline Discussion Feature request Transfers
Dominant language
Kotlin
Stars
4.2k
Forks
3.1k
Avg merge
1d 12h
Merged PRs (30d)
7

Description

Actually, there are three different statuses for files in the ownCloud Android app:

  • Stored in server: file is listed locally but no local copy stored in device

  • Downloaded: a copy of the server file is stored in the device. Only synced when opened. Marked with a green pin with a white arrow inside.

  • Av. offline: file is downloaded and always synced. Marked with a purple pin with a white tick inside.

The point is, these statuses could be reduced to two: Server & Av. offline. The "Downloaded" status does not really mean a productive feature. Users have the file downloaded using local storage, but not synced as the av. offline ones.

Proposal:

  • When a user taps on a file, the file is cached to be previewed. After some time, cache is cleaned (manual option to clean cache exists in the device settings, not sure if another option in app settings could be interesting)

  • If the user wants to keep the file locally stored, av. offline is the option. It will be automatically synced.

Scoped Storage feature could help (somehow) to this idea. It follows the path of the iOS app.

suggestions, proposals, ideas, criticism are always welcome

TASKS
  • Research (if needed)
  • #3290
  • Create branch feature/feature_name
  • Development tasks
    • Implement whatever
    • ...
  • Code review and apply changes requested
  • Design test plan
  • QA
  • Merge branch feature/feature_name into master
PR
  • App
  • Library (if needed)

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 researching the Android app's file-status and caching behavior, compare the iOS approach mentioned, and clarify the scope before coding. Done would mean a decided design that removes the separate Downloaded status while preserving cached previews and Av. offline synchronization.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.