lemmy-ui icon indicating copy to clipboard operation
lemmy-ui copied to clipboard

Allow an grace period after publishing that allows editing the comment without "modified tag" showing up

Open NoSpiner opened this issue 8 months ago • 3 comments

Requirements

  • [x] This is a feature request and not a bug report. Otherwise, please create a new bug report instead.
  • [x] Please check to see if this request (or a similar one) already exists.
  • [x] It's a single feature. Please don't request multiple features in one issue.

Describe the feature you'd like

It is annoying when posting comment and you notice a typo and you have to edit it out, but now you have that "edited mark" next to your comment, as if you had changed or added something significant. It would be nice if there was like a 2-3min grace period after posting a comment that allows you to edit and not get that mark.

NoSpiner avatar May 01 '25 17:05 NoSpiner

Wouldn't be too difficult to add, this would be a good first issue for someone.

dessalines avatar May 06 '25 14:05 dessalines

It would be nice if there was like a 2-3min grace period after posting a comment that allows you to edit and not get that mark

Should it be an environment variable or hard coded? Is it ok that other front-ends see the edited tag?

jfaustino avatar Jun 17 '25 23:06 jfaustino

Hard coded is fine. Basically if the modified is within the last 5 minutes or so, then don't show it as edited.

This should be a UI issue only, not on the lemmy back end.

dessalines avatar Jun 18 '25 12:06 dessalines

https://github.com/LemmyNet/lemmy-ui/pull/3197

Nutomic avatar Jul 28 '25 10:07 Nutomic