Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Soft-delete and copy-on-write for comments/posts #6131

Open
cysjonathan opened this issue Jun 5, 2023 · 0 comments
Open

Soft-delete and copy-on-write for comments/posts #6131

cysjonathan opened this issue Jun 5, 2023 · 0 comments
Labels

Comments

@cysjonathan
Copy link
Contributor

Issue

Students may sometimes delete/update comments/forum posts content. We sometimes need to know what the student originally wrote, and want to keep a history of the comments/posts.

Solution/Fix

  1. When a user makes an update, we execute a copy-on-write to preserve the old content.
  2. When a user deletes, we do soft delete instead of hard delete.

Considerations

Ensure that copy-on-write does not affect codaveri automated feedback generation/confirmation adversely. Existing behaviour should remain the same.
When copy-on-write is implemented for forum posts, to ensure that Forum-answer questions still works as expected when forum posts are copied-on-write.
Behaviour also needs to be probably specified and tested if the entire forum thread is deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant