Feature suggestion: duplicate posts handling

https://programming.dev/post/1229241

Feature suggestion: duplicate posts handling - programming.dev

Hello LJDawson, let me start with saying how happy I am to have Sync back :) The one issue I have with Lemmy is duplicated posts between different communities (see screenshot). Posts usually have same title, author and link, yet differ in community/server they are posted to. It would be great to be able to make the appear as one item on the feed with some note below that links to both instances’ posts, or something like that basically to make them not appear twice or thrice one under another.

Playing devil’s advocate for a bit… So these are just cross-posts. Which existed even on Reddit. …I assume they weren’t handled in any way in Sync or Reddit?

But let’s say this is fixed… What to do about the multiple comments threads? How would you reconcile them with each other? Especially since the user can choose different ways to sort the comments as well. Would all of this logic normally handled by the Lemmy back-end now need to run on your phone?

Btw, I’m not trying to dismiss the idea. Just want to call out some of the technical problems that might come up trying to implement such a feature. As well as ask questions to try and determine exactly how such a feature is expected to work.

There are a few ways to handle it, but yes it would either need to be done client side or via a server proxy.

I am actually toying around with something (that I may or may not release publicly, depends on how far I get before I lose interest) to help app developers do stuff like this without heavy processing on the client.