As an ownCloud user, I want favorites within the mobile apps to be the same as favorites on the server, so that I can find my most important files fast on any ownCloud web, mobile or desktop client.
Acceptance Criteria:
Ultimate goal is to use the virtual file system to allow desktop users to view all files, synced or not, and then sync the flies locally.
Related issues:
Server
Favorites view on server https://github.com/owncloud/core/issues/23920
Desktop
Do we need Favorites on Desktop? https://github.com/owncloud/client/issues/4844
Mobile
iOS:
Favorites filter (needs to line up with Android) https://github.com/owncloud/ios/issues/652
Android:
Favorites shortcut https://github.com/owncloud/android/issues/867
EDITED @rperezb
@DeepDiver1975 @PVince81 Will this feature require work from server side?
Currently files/folder can be favorited/unfavorited from webdav interface.
favorites are a special type of tags which can be set via webdav
As custom properties then, right?
Yes, the property is "{http://owncloud.org/ns}favorite". "1" is favorite "" is not favorite.
In this case, we can know if the files/folders we discover / refresh are favorite or not.
But there is no way to get all the favorite files of a user in a single request, right?
That should allow us start, but not sure if will satisfy user expectations...
Addition or deletion of tags don't provoke the ETag changes, right?
This questions are more for @PVince81.
I think currently you'd have to request all the files/folders with a propfind and choose the ones with favorite "1" to get that list.
Until we can get all the favorites for an account, I would not recommend display a cropped favorite list view that the user would expect represents all the favorites he has.
But there is no way to get all the favorite files of a user in a single request, right?
No public API for this yet, to be added as part of the REPORT method: https://github.com/owncloud/core/issues/23263
Note that the REPORT method would return a flat list of files, no hierarchy. I hope this would suit the requirements.
I think so, the current criteria for the UI is showing a flat list in the favorites section, seems fit perfectly.
In mobile we still didn't use this method before. May I guess it accepts pagination parameters?
No pagination yet but hopefully we'll add it for 9.2 because we'd also
like to use REPORT for search.
For reference 00006428
@pmaier1 @hodyroff
No pagination yet but hopefully we'll add it for 9.2 because we'd also
https://github.com/owncloud/core/pull/26507 - will add pagination - for tag based search as well as favorites as well as the unfiltered file list
server side API exists for favorites: https://github.com/owncloud/documentation/issues/2950
Closing the server ticket as the server part is done. Please open/refer to client-specific tickets.
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
No pagination yet but hopefully we'll add it for 9.2 because we'd also
like to use REPORT for search.