Edgewall Software
Modify

Opened 15 months ago

Last modified 8 months ago

#13564 new defect

TicketQuery with format=progress doesn't show progress when no matched ticket (part of #13474)

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 1.6.1
Component: query system Version: 1.4.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Copied from 13474#comment:4:

Now, with the implemented fix, a progress bar for a query that yields no tickets looks as follows:

It is definitely better than a python error message but it does not look especially pretty. One could try to display an empty progress bar here instead?

I would not opt for a "No Results" message because when using format=table we get an empty table and not "No Results". An empty progress bar would be more consistent.

Open to suggestions! What is the expected behavior? Or would handling None values in templates/progress_bar.html be more preferable?

Attachments (0)

Change History (2)

comment:1 by Jun Omae, 15 months ago

Workaround (tested with Firefox and Chrome):

  • trac/htdocs/css/roadmap.css

    diff --git a/trac/htdocs/css/roadmap.css b/trac/htdocs/css/roadmap.css
    index 0edd82e59..57d9faa74 100644
    a b table.progress {  
    99 padding: 0;
    1010 empty-cells: show;
    1111}
     12table.progress tr { display: flex; height: 1.2em }
    1213table.progress a, table.progress :link, table.progress :visited,
    1314table.progress :link:hover, table.progress :visited:hover {
    1415 border: none;

comment:2 by Ryan J Ollos, 8 months ago

Milestone: 1.4.51.6.1

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.