Edgewall Software
Modify

Opened 13 years ago

Last modified 22 months ago

#10279 new defect

Sort admin page milestone table by descending due date

Reported by: Dirkjan Ochtman <dirkjan@…> Owned by:
Priority: normal Milestone: next-major-releases
Component: admin/web Version:
Severity: minor Keywords: bitesized milestone sort filter
Cc: maynard.k@… Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Currently, the list of milestones in the web admin seems to be sorted by ascending due date. If you have a lot of milestones, that's kind of a pain: the old milestones are likely to be the least interesting. Simply sorting by descending due date probably makes for a better experience (even though it will show far-future milestones before near-future ones).

For a more refined solution, split the table in two parts: a list of open milestones, by ascending due date, and a list of closed milestones, by descending due date.

Attachments (2)

trac_admin_milestones.png (56.1 KB ) - added by Maynard K. <maynard.k@…> 23 months ago.
10279_sort_admin_page_milestones.diff (6.1 KB ) - added by Maynard K. <maynard.k@…> 22 months ago.

Download all attachments as: .zip

Change History (15)

comment:1 by Remy Blank, 13 years ago

Milestone: next-minor-0.12.x

We could split the table into the same groups as in the ticket form selector: open (by due date), open (no due date) and closed.

comment:2 by Ryan J Ollos, 10 years ago

Milestone: next-minor-0.12.xnext-stable-1.0.x

comment:3 by Ryan J Ollos, 9 years ago

Keywords: bitesized added
Milestone: next-stable-1.0.xnext-major-releases

comment:4 by Maynard Koch, 23 months ago

I'll have a look at this one

by Maynard K. <maynard.k@…>, 23 months ago

Attachment: trac_admin_milestones.png added

comment:5 by Maynard K. <maynard.k@…>, 23 months ago

I did the following:

  • simply created three tables
  • first shows open milestones with due date
  • second shows open milestones without due date
  • third shows completed milestones
  • every table has its own heading

result:

Any suggestions or comments?

Version 0, edited 23 months ago by Maynard K. <maynard.k@…> (next)

comment:6 by Maynard K. <maynard.k@…>, 23 months ago

for consistency reasons, one could set the column width the same for all three tables

comment:7 by Maynard K. <maynard.k@…>, 23 months ago

oh and i reversed sorting order + set utcmin value in sorting function (instead of utcmax) to get properly working descending order for due date

I think the best way would be to sort as Dirkjan suggested:

  • ascending or open milestones
  • descending for completed milestones

comment:8 by Jun Omae, 23 months ago

I don't think splitting 1 table to 3 tables is good idea. It is not simple. It brings searching name by my eyes 3 times. Also, currently the table in admin/milestones page has Name, Due, Complete, Default, Retarget, Tickets columns. These columns should be kept.

comment:9 by figaro, 23 months ago

Would also prefer to maintain the single table.

We could go a long way if:

  1. The table is sortable (#11683)
  2. A search box is added that allows regular expressions

in reply to:  8 comment:10 by Maynard K. <maynard.k@…>, 23 months ago

Replying to Jun Omae:

I don't think splitting 1 table to 3 tables is good idea. It is not simple. It brings searching name by my eyes 3 times. Also, currently the table in admin/milestones page has Name, Due, Complete, Default, Retarget, Tickets columns. These columns should be kept.

These columns are still there; I just cropped the screenshot. But I get your point; it is easier to maintain a single table and makes searching much quicker.

I would try something like what figaro suggested—having a single sortable table with a search box sounds good.

by Maynard K. <maynard.k@…>, 22 months ago

comment:11 by Maynard K. <maynard.k@…>, 22 months ago

Here is a suggestion for using a single table with an extra search box that allows using regular expressions.

Table is sorted in following order:

  • Open milestones (with a due date) → descending by due date
  • Open milestones (no due date)
  • Closed milestones → descending by due date

(see attachment above, sorry I forgot to fill the description)

comment:12 by anonymous, 22 months ago

Keywords: milestone sort filter added

Related #11683, #2130

comment:13 by Maynard K. <maynard.k@…>, 22 months ago

Cc: maynard.k@… added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.