gogs icon indicating copy to clipboard operation
gogs copied to clipboard

Add the ability to sort issue comments

Open Madmorgan007 opened this issue 9 years ago • 3 comments

Hi,

it would be nice if you could sort an issue that has a very long comment trail to sort it from new to oldest. reason for it if you know about the issue and you have been committing already you don't want to scroll to to bottom to read then nest comment.

Madmorgan007 avatar Sep 08 '16 10:09 Madmorgan007

Way Read this Hard to It's really

Though I would love to have an option where already read comments are reduced kinda like how gmail does:

gmail_reduce_convo

bkcsoft avatar Sep 08 '16 11:09 bkcsoft

cant you could put a button the the form and where the user clicks it. The database then gets a request for all comments linked to this issue order by ASC or DESC

simple sql - I know this SQL is not right for this database its just and example

SELECT * FROM Comments WHERE IssueId = 'xxx' ORDERBY CommentId ASC or DESC

Madmorgan007 avatar Sep 09 '16 07:09 Madmorgan007

I've created a PR, but not sure where is the FE part of it

pikomonde avatar Apr 04 '24 13:04 pikomonde