[Feature Request] Sortable Table Headings #3649

Closed
opened 2025-11-02 05:20:33 -06:00 by GiteaMirror · 5 comments
Owner

Originally created by @6543 on GitHub (Jul 23, 2019).

add sort feature to tables.

There are a lot of tables/lists out there wich would be nice to sort (by head colums):

/admin/[users/orgs/repos/auths/notices]

-> use go & html template

Originally created by @6543 on GitHub (Jul 23, 2019). add sort feature to tables. There are a lot of tables/lists out there wich would be nice to sort (by head colums): /admin/[users/orgs/repos/auths/notices] -> use go & html template
GiteaMirror added the type/proposal label 2025-11-02 05:20:33 -06:00
Author
Owner

@6543 commented on GitHub (Aug 26, 2019):

i try to solve this with https://github.com/go-gitea/gitea/pull/7980 what do you think?

@6543 commented on GitHub (Aug 26, 2019): i try to solve this with https://github.com/go-gitea/gitea/pull/7980 what do you think?
Author
Owner

@6543 commented on GitHub (Aug 27, 2019):

Roadmap:

  • Programm Script (https://gitea.com/6543/gitea_sortt)
  • Add Script to Gitea
  • add attribute for existing table sort functions to table headers
    ....
  • extend go sort routine for tables wich you cant sort jet and add attributes
@6543 commented on GitHub (Aug 27, 2019): Roadmap: * [x] Programm Script (https://gitea.com/6543/gitea_sortt) * [x] Add Script to Gitea * [x] add attribute for existing table sort functions to table headers .... * [ ] extend go sort routine for tables wich you cant sort jet and add attributes
Author
Owner

@6543 commented on GitHub (Sep 20, 2019):

@6543 meanwhile I have one more idea for improvement 😈
You know that not all the fields / columns are sortable, so, it would be nice somehow inform user about sortable or not columns. Just ideas: highlight background on hover, change mouse pointer type.

Originally posted by @davydov-vyacheslav in https://github.com/go-gitea/gitea/pull/7980#issuecomment-533268984

@6543 commented on GitHub (Sep 20, 2019): @6543 meanwhile I have one more idea for improvement 😈 You know that not all the fields / columns are sortable, so, it would be nice somehow inform user about sortable or not columns. Just ideas: highlight background on hover, change mouse pointer type. _Originally posted by @davydov-vyacheslav in https://github.com/go-gitea/gitea/pull/7980#issuecomment-533268984_
Author
Owner

@6543 commented on GitHub (Sep 20, 2019):

I have one more comment for this feature. Not all the columns' headers are able to sort. It would be nice to get images of current sorted column and the direction of sort (something like this one )

Originally posted by @davydov-vyacheslav in https://github.com/go-gitea/gitea/pull/7980#issuecomment-532597890

@6543 commented on GitHub (Sep 20, 2019): I have one more comment for this feature. Not all the columns' headers are able to sort. It would be nice to get images of current sorted column and the direction of sort (something like [this one](https://image.shutterstock.com/image-vector/sort-asc-desc-icon-vector-260nw-1228284466.jpg) ) _Originally posted by @davydov-vyacheslav in https://github.com/go-gitea/gitea/pull/7980#issuecomment-532597890_
Author
Owner

@6543 commented on GitHub (Sep 17, 2020):

#7980 was merged

@6543 commented on GitHub (Sep 17, 2020): #7980 was merged
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3649