-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Add multiple files to favorites #7627
Comments
I'll take this one. |
I think this isn't as trivial as I thought in the beginning. It's more than just adding the action: If the user selects only non-favorites: Action "Add to favorites" ✓ If the user selects only favorites: Action: "Remove from favorites" ✓ If the user select favorites and non-favorites?
|
Most likely nothing for 14 -> moving to 15. |
@weeman1337 You still can continue to think about this and work on this, but it will then be integrated into 15 first. |
Once this is in, we should also do this on client-side |
You can already do this. It only needs a client side implementation. For multiple files/folder moves we trigger just multiple MOVE requests from the frontend, which allows proper UI feedback as well. The favorites already can be tagged via the PROPPATCH method. The only problem here is that the activity is not yet implemented. See #26393 |
So there will be no new endpoint to pass bunch of file so mark them as favorited? |
Correct - only multiple PROPPATCH requests. |
@weeman1337 Any update here? |
This issue has been automatically marked as stale because it has not had recent activity and seems to be missing some essential information. It will be closed if no further activity occurs. Thank you for your contributions. |
Still a valid enhancement, no idea why bot closed this. |
@skjnldsv is there a specific new API to bulk add files to favorite, or is it "just" doing it one by one? |
For now one-by-one. If I start adding dedicated APIs, I will ping the client team, I'll keep that in mind, no worries :) server/apps/files/src/actions/favoriteAction.ts Lines 99 to 102 in 0411cc6
|
See proposed mockup:
The text was updated successfully, but these errors were encountered: