-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Issue edit history sometimes doesn't show the "Delete from history" menu. #27313
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
Comments
Ah, my deepest apologies! Was this a recent addition perhaps? It seems like Codeberg is still based on too old Gitea code to show this. In any case, seems like this ticket is invalid, I'm sorry about that. |
Hmm .... good point. I guess there is a bug. Maybe in some cases, the "delete" menu doesn't show. I will look into it. Thank you for your report! |
Oh, I'm surprised this isn't just me not checking the server version properly 😅 😂 |
The problem is in -> Improve issue history dialog and make poster can delete their own history #27323 Thank you again. |
…tory (#27323) Fix #27313 (see the comment) And some UI improvements: ### Before   ### After   
…tory (go-gitea#27323) Fix go-gitea#27313 (see the comment) And some UI improvements: ### Before   ### After   
…tory (#27323) (#27327) Backport #27323 by @wxiaoguang Fix #27313 (see the comment) And some UI improvements: ### Before   ### After    Co-authored-by: wxiaoguang <[email protected]>
Feature Description
A part of the appeal of editing comments is to edit out something you didn't mean to post and don't want to end up in search engine indexes forever on a public repo. (I get it might still be e-mailed and shown to some people but that's not the same at all like it lingering forever on the internet.) However, that only works when it's possible to delete old revisions of your own edited comments, which I'm hereby proposing. GitHub by the way has been offering this for quite a while already. Or alternatively, do it like GitLab and just don't show older versions or any comment history at all. This in between where all older versions of a comment are kept forever but there seems to be no obvious way to delete them seems like a very unfortunate in-between.
Interestingly, the UI to pick and show an old version in a popup where just a single button for deletion would need to be added, is already there. So UI-wise, this change seems really minor. I hope it can be added.
Sure, it's still possible to delete an entire comment instead to "solve" this, but that seems like quite the nuclear option. It would be better to do it like GitHub, where you can delete an old version of the comment but then it also still shows transparently if you check that the older version existed but that it was deleted. That seems like the best of all worlds.
Screenshots
No response
The text was updated successfully, but these errors were encountered: