Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Deleting a post vs deleting an entire comment tree

Technical Discussion
5 4 0

Gli ultimi otto messaggi ricevuti dalla Federazione
  • I've got a PR for removing an entire comment thread for Lemmy mostly ready, I just need to write the tests and decide on how this exact problem should work, so the timing is honestly impeccable. The things I've been debating between are:

    Same as option 1, a new property like removeChildren; Make the target of the Delete an array. I'm honestly 50/50 on whether this is actually spec compliant, it's not clear to me that it isn't; Just sending out an individual Delete for every Object. I like this option the least, but it is very easy to implement and needs no changes in other software to work.
    read more

  • On most forums (and forum-inspired social networks like the old tribe.net or Facebook groups), the first post represents the root of the thread, so when you delete it it deletes the entire thread.

    Misskey and *key forks are like this too. Ask me how I know! loslob.

    @thisismissem

    read more

  • julian said in Deleting a post vs deleting an entire comment tree:
    > If that object is the root-level node, and it is deleted, everything below it is also deleted.

    Why would everything below be deleted? Would it not simply become orphaned?

    read more

  • What if instead of doing the Announce, the requestor of the object did a like Subscribe? i.e., "I've had this object federated to me (either by user-lookup or boost from another server), you don't know I know about this object, so I'd like to inform you so that you can send me updates on this object in the future"

    read more

  • For context:

    Two big threadiverse implementors (and probably mbin) currently federate Announce(Delete(Object)) for deletion of content — all synchronized communities follow suit and delete the content as well. If that object is the root-level node, and it is deleted, everything below it is also deleted. Lemmy and Piefed are investigating the possibility of changing this behaviour so that the action deletes the object itself only, and the reply tree stays.

    We're in the middle of discussing how best to communicate this. With Delete(Object) behaviour shifting to deleting the single object only, there are two options to delete the entire tree/thread:

    Delete(Object) with a new property with_replies or similar Remove(Context), where Context is a new url that refers to the entire tree

    Thoughts? We're discussing this tomorrow at ForumWG but it'd be nice to get some eyes on it beforehand.

    cc rimu@piefed.social nutomic@lemmy.ml melroy@kbin.melroy.org bentigorlich@gehirneimer.de

    read more

  • @evan there's also an update on this topic here: https://github.com/swicg/activitypub-trust-and-safety/issues/97#issuecomment-3609426922

    So progress is happening. I'm trying to follow up with Mastodon on their implementation of that FEP draft, and I've added it to the agenda for T&S next month, so hopefully gaining implementers after that.

    I also added in how I made link previews in the Mastodon moderation tools look in 4.5, if implementers need some ideas for end-users

    read more

  • @thisismissem thank *you* for doing it!

    read more

  • @evan thanks!

    read more
Post suggeriti