HannesAlexandersson / HannesAlexandersson/trappa-ner
Forum 3 Delete old threads/posts
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 0
- Avg merge
- 10m
- Merged PRs (30d)
- 8
Description
This needs a little more thought than simply adding a delete button.
I'd recommend:
Users can delete their own threads/replies.
Potentially:
Moderators/admins can delete other users' content.
And instead of physically deleting immediately, I'd strongly consider a soft-delete field such as:
deleted_at
That gives you much better control later for moderation, reporting, auditability, etc.
We should also decide whether deleting a thread deletes its replies or whether the thread becomes something like:
This thread has been deleted.
I would lean toward retaining the thread/reply records and hiding the content rather than cascading hard deletion.
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue names no files, tests, or entry points. First clarify the deletion policy: who may delete content, whether deletion is soft, and how threads with replies should appear afterward. Done means those decisions are documented and implemented with coverage for the selected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100