nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
26.77k stars 4k forks source link

Favourites files to dashboard #23308

Open Dubidubiduu opened 3 years ago

Dubidubiduu commented 3 years ago

Is your feature request related to a problem? Please describe. Want to quickaccess my favourite folders/files.

Describe the solution you'd like Have a favourite files widget on my dashboard.

ps: There is "Recommended files", but not favourites files if I see this correctly..

skjnldsv commented 3 years ago

cc @juliushaertl @eneiluj

julien-nc commented 3 years ago

I don't know if a dashboard widget would be adapted for that. You most likely have many many favorite files and yet the widget would just display 6 of'em. Then I guess one would still need to go to Files app and use the Favorites filter in the left sidebar.

skjnldsv commented 3 years ago

Cc @jancborchardt

juliushaertl commented 3 years ago

We could either have a separate favorites widget or add some checkbox to make recommended files only operate on favorites.

jancborchardt commented 3 years ago

I’d say it wouldn’t be bad to have an extra "Favorite files" widget though. Could be sorted by last modified for quick access, and last entry "Show more favorite files …" would go directly to the favorite filter view in Files.

@ChristophWurst Is the favorite status factored in to the recommendation algorithm at the moment?

imthefrizzlefry commented 2 years ago

I would love to see my most recently accessed favorite files/folders on the dashboard. Too often I just click away from the dashboard because I need to go to one of 2 directories to get something. A widget like this would give me quick access.

fflorent commented 1 year ago

I intend to work on it.

From what I saw, the main logic of the favorites is present in the files app, at favoritesplugin.js and at favoritesfileslist.

Regarding the creation of a dashboard app, I don't know whether it's a prerequisite or a good practice, it looks like all dashboard files are present in their own app. That's for example the case of the Recommendations app.

I fear that a refactoration would be expansive in order to move the favoritesplugin in its own app.

As a start, I would just attempt to create an app whose only purpose would be to offer the dashboard widget.

What do you think? Can this be done this way? (at least technically as a first step)


I’d say it wouldn’t be bad to have an extra "Favorite files" widget though. Could be sorted by last modified for quick access, and last entry "Show more favorite files …" would go directly to the favorite filter view in Files.

I agree with that proposal.

skjnldsv commented 8 months ago

Should be quite simpler now with the new dashboard API :) https://docs.nextcloud.com/server/28/developer_manual/digging_deeper/dashboard.html

KaKi87 commented 7 months ago

Hello, Any news on this ? Thanks

lordratner commented 7 months ago

Just chiming in to support the effort. Favorites on the dashboard would be very useful