Managing Deleted Records #2686
Replies: 3 comments 3 replies
-
I proposed something a bit like this way back, to make threads containing deleted posts easier to navigate. But in retrospect I think it's more complexity than it's worth. What do you concretely gain from leaving a tombstone, as opposed to just nothing? In the my thread example, the purpose of the tombstone would have been to maintain the reference to the parent post. |
Beta Was this translation helpful? Give feedback.
-
Seems like it could be an app-by-app thing. For bsky, we wanted deleted posts to bias towards "just gone" with fewer traces, though references from other repos persist. For smokesignal, doing a You'll pragmatically have to support the situation of an event record being "just gone" even if your app never takes that action: i'd expect that there will be general-purpose atproto repo cleanup apps which will let folks create/update/delete records in a generic way, and some folks might just delete random old records that they can't remember the utility of; for precedent of this, there are a lot of "social media scrubber" apps that people use when elected to office or whatever. A union of two types would be one way to get at this. It would feel to me like a layer of abstraction/indirection on the record themselves I wouldn't love. On the other hand, it would make it easier to make more fields "required" even if the event is "tombstoned", which could be good for schema design. |
Beta Was this translation helpful? Give feedback.
-
I like the simplicity of deletes in their current form and would vote against complicating them in this way. The practical benefits to user experience can be implemented at the AppView level, I don't see the benefits of representing this in the data model. |
Beta Was this translation helpful? Give feedback.
-
I want to determine best practices for managing deleted posts and references. Currently, on Smoke Signal, an event has an AT-URI, and RSVPs reference the AT-URI and CID as strong references. This allows users to show that they RSVP'd to an event or, more importantly, a version of the event at a time.
In practice, I strongly discourage events from being deleted. Even a canceled, postponed, or flop should exist as a record and for historical purposes. That said, there are very practical reasons to delete those records.
My current thought is that an event record is actually a union of two types: an event definition or a tombstone definition.
Is there any reason not to implement this type of union structure? Are there any relevant lessons from your development of the post-lexicon?
Beta Was this translation helpful? Give feedback.
All reactions