You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The main issue here is that the same file with the same file id is appearing twice in the file list. This happens because it has been shared 2 times with the user: directly as well as indirectly via a shared folder. Now I'm unsure if we should dedupe in the client, or if that's the server's job. It happens for favorites and search results (REPORT endpoint). @aduffeck what do you think?
Hm... I'm not 100% sure either but I tend to think that it would be better if the frontend dedups the results. It could maybe add a small note like "also present at ..." or something like that, while the backend can't really just omit one of the locations imo as that might be confusing and is just not precise.
Activity
JammingBen commentedon Apr 16, 2026
The main issue here is that the same file with the same file id is appearing twice in the file list. This happens because it has been shared 2 times with the user: directly as well as indirectly via a shared folder. Now I'm unsure if we should dedupe in the client, or if that's the server's job. It happens for favorites and search results (
REPORTendpoint). @aduffeck what do you think?aduffeck commentedon Apr 16, 2026
Hm... I'm not 100% sure either but I tend to think that it would be better if the frontend dedups the results. It could maybe add a small note like "also present at ..." or something like that, while the backend can't really just omit one of the locations imo as that might be confusing and is just not precise.
JammingBen commentedon Apr 16, 2026
Ok, I guess it's also the easiest solution (for now anyway), so let's do that. No need for notes, we will just dedupe by id.