-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Files app favorites #2368
Comments
With the probably upcoming sidebar in the next Files design #1936 it would indeed be good to have a »Favorites« category. If we do that though we should make sure that from the outset these are synced to the mobile apps where we also use Favorites (which are saved for offline access. cc @rperezb @davivel @jgonzalezsolidgears |
@DeepDiver1975 yes, for sure. Thank you for going through the issues! |
Setting to ownCloud 8. Now that we have the sidebar, this is much easier. :) |
As a nice start, we could display an entry with the »Favorited on mobile« items in the sidebar. |
Ey @jancborchardt , »Favorited on mobile« can´t be shown on the web interface, at least for the moment, because they are stored internally on the device, furthermore, they deppend on each device. |
@rperezb ok – so just as a note, if we want to do this »favorites« function, it would probably be good to sync them properly. :) |
Let's use this ticket for designing and implementing the favorites feature. CC @owncloud/designers |
Note: the |
@PVince81 There already is code in You can mark and unmark an object as a favorite (which is internally using the tag name |
I haven't looked into the code yet, but great to know that it exists already. Thanks for the info 😄 |
Yeah, please do check it out! BTW, in my contacts groups (i.e. tags) sharing PR owncloud/contacts#668 , I'm not having other people's favorites shown to sharees, as I think starring a contact as a favorite is really something only meant to be useful to the owner. |
@PVince81 yes. Favorites are completely private. Comments and attributes are not. |
Should this be integrated into the files app or a separate app ? |
Let me reformulate: I will put this directly into the "files" app unless someone has arguments against this. |
Here is what I intend to do:
@owncloud/designers I'll leave it up to you to propose changes and provide with a proper star icon (if we don't have one already) |
@PVince81 You are going to use the existing favorite mechanism I'm mentioning a bit further above, right? |
Yes, I don't want to reinvent the wheel and will use whatever I find. |
Yeah, that's pretty much the only app I'm aware of that's using it. |
@ockham also if you're interested in working on this or part of this, feel free to join. I'll submit a WIP pull request at some point with some groundwork. Or at least I'll mention you in the PR for reviewing 😄 |
Cool. I'll be a bit busy in the next couple of weeks, so I can't promise anything, but I'll try to look into the PRs. |
So this means all the API will need to be available directly in core, which is fine. My only concern is about performance: when reading the "favorites" information every time the file list is retrieved (either through WebDAV or web UI) there will be an additional performance hit. Putting "favorites" as a feature that cannot be disabled in core means that the potential performance hit will always be there (and I've yet to find a solution to avoid it) |
Until we find a good solution to avoid the potential performance issue I'll keep the code inside the "metadata" app. I can always move it back to core later if needed. |
Ok, but in the case of the »Favorites« feature it’s pretty obvious that we’ll have to find a solution to the performance problem rather than burying the functionality, right? It’s a pretty core thing of any file manager / sync app nowadays. |
It doesn't need to be buried, we could also have that app enabled by default., with the option to disable it if people don't use it or have performance issues. My concern is that we might not have time to solve this until OC 8, so we could keep favorites in this app for testing, and if it does work properly and isn't that big a deal on performance, then we can move it to core. Anyway, I'll have a chat with @icewind1991 about the performance stuff next week, so we'll see. |
Ok, cool. |
After discussing with @icewind1991 we decided to move the "tags injection" into the presentation layer. This is the part that might affect performance, we move it into "ajax/list.php" and later also in WebDAV. This means that I can move that favorites code into core. |
This PR adds the "favorites" feature to core: #12360 There are still a few rough edges and additional tasks (make the API based on OCS, not REST and adding the "favorites" flag to the WebDAV response, hoping it won't slow down syncing) |
TODOs:
|
This was added to master through the »Favorites« feature #12360 and will be released with ownCloud 8. |
@jancborchardt this isn't finished, see TODO list above |
What would be a thing of pure beauty, would be being able to share any given tag, in the exact same way we currently can share files. I would love to be able to organize my photos according to my own system, and then have all the ones tagged "family" to automatically be shared with everyone in my family group, or to tag files with "client-updates" and automatically have them be shared with my client group. Yes, I can manually share files with these groups now, but only files, and even then, it's still an extra step, for every single file, to have to tag it, and then also manually share it. I'm sure that having hundreds of individual files being manually shared must clutter the database more than just having the relevant files have a tag, and a single share entry to say that tag x is shared with y. |
@PVince81 missing todos are topic for OC8.1 from my understanding - right? |
When I asked @karlitschek he said it's ok to implement the "tags cleanup" part as part of 8.0, as far as I understood. |
@Bugsbane interesting idea. Can you make a separate enhancement ticket for this ? |
Yes. This can be seen as a bugfix. I don´t hope a lot of code is needed for that. |
@PVince81 Sure thing. |
Related bugs of favorite feature:
Indirectly related:
|
@PVince81 this can be closed since all other sub tasks have their own tickets right? |
@nickvergessen Let's keep it open untill we have a label for the tags feature to not lose the list of tag related issues. Something like `feature:tags" came in my mind ;) |
The label has been created and added to all the ticket closing |
As a user, I would like to be able to bookmark certain files to make them extremely easy to access quickly, so that I can open and display files quickly on my iPad and other devices without having to negotiate through all of my existing files on ownCloud.
Can we add a file bookmark?
The text was updated successfully, but these errors were encountered: