Xyphyn / photon

A replacement for lemmy-ui with more features, a better design, and more customizability.
https://phtn.app
GNU Affero General Public License v3.0
348 stars 39 forks source link

[Enhancement] Show time when a post or comment was last edited #406

Open Tywele opened 1 month ago

Tywele commented 1 month ago

Is your feature request related to a problem? Please describe. Right now there is no way to see when a post or comment was last edited.

Describe the solution you'd like Show a "Edited x hours/days/weeks ago" somewhere in the post/comment header. Comments at least already show that a comment was edited but not when.

sevonj commented 4 days ago

Some options for how to deal with this:

  1. Replace post time with last updated time. I think this is done by a few other clients at least.
  2. Show the update time as a tooltip when hovering over the pencil icon
  3. Show the update time when clicking/tapping the pencil icon (example voyager): image
  4. Show the update time in actions image

I think 2. and 3. options complement each other for a decent experience on both pc and mobile. I think I might like option 4 the best.

So,

Tywele commented 4 days ago

I think options 2 and 3 would be the best. And I like 2 even more than 3.

Xyphyn commented 4 days ago

The pencil icon is the size of my remaining sanity, so I don't think tapping it would be a good trigger. I think I should add detailed stats to the actions on both posts and comments

Tywele commented 4 days ago

Please don't only take mobile into consideration. For desktop a hover for the pencil icon would be perfect.

sevonj commented 4 days ago

Yeah, I think tooltip is nice. Shouldn't be a problem with mouse cursor accuracy.

Xyphyn commented 4 days ago

I'll add both