nextcloud / nextcloud/ios

Decouple favorites from offline availability?

Open
#627 10 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Combining offline availability with the favorites feature looked like a pretty good idea to me at first. Now I have a folder with a few hundred MB of data. I would like to have this folder available offline on an iPad, but not on my iPhone. (Mostly because storage is more limited on the phone.) However, since the favorites flag is dutifully synced between my devices, the downloads also take place on both of them.

Provided you agree that having (arbitrary amounts of) files available offline is a desirable feature, I would like to propose decoupling the favorites feature from offline availability. Surely that means another button and file management code, but it would help immensely in my use case. What do you think?

I found a few other issues here where it was already suggested that favorites might not be intended for marking lots of files - still, one folder is just one folder, isn't it? :) (I think this issue is different from favoriting too many files.)

iOS version: 11.4.1
App version: 2.21.3.1
Nextcloud version: 13.0.5

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

No files, tests, or entry points are identified in the issue. Start by tracing how favorites sync and trigger offline downloads in the iOS app; done means offline availability can be controlled independently per device without changing synced favorites.

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.