pull down to refresh
44 sats \ 7 replies \ @k00b 2 Oct 2024 \ on: How about creating...a type of stacker.news post that can be updated? meta
We have an issue for it: https://github.com/stackernews/stacker.news/issues/1049
Got it, thank you. I thought I've seen discussion of this before, but then couldn't find anything searching on stacker news. Should have checked the feature requests!
Looks like on Reddit, they do allow edits (with some restrictions).
reply
reply
Something like this might be relatively straightforward:
-
Have an ItemEditHistory table. Perhaps only these fields:
id
originalItemID
createdAt
title
text
editReason ?
-
Add field to Item table
nEdits (sum of related rows in ItemEditHistory)
-
When an edit occurs: -- Insert new record (with old text and title values, and current datetime for createdAt field) from item to the ItemEditHistory -- In the original Item record, update the text and title fields with the updated values, and update nEdits with the total of related records from ItemEditHistory table
-
The post could have a little button on it, indicating (if edited) the number of edits. Then just don't show that button if it hasn't been edited, to avoid clutter.
-
It should be straightforward to show a history of edits.
Mentioning @elvismercury because he wrote some posts on this as well.
The con mentioned over there says
Degradation of post quality (why would i thoroughly craft my post if i can edit it later on?)
I completely agree. Also, I think the uneditable posts ensure the accountability of stackers. If you just wanna do it for directory type of posts, it's just fine but for every post, it'll definitely degrade quality of a post.
reply
I'm not saying the standard post should be editable. But there's a type of post that would definitely benefit a lot from being editable.
reply