Edgewall Software
Modify

Opened 10 years ago

Last modified 3 years ago

#6820 new enhancement

change display for duplicate tickets

Reported by: trac@… Owned by:
Priority: normal Milestone: unscheduled
Component: ticket system Version:
Severity: minor Keywords:
Cc: lists@…, mikko.rantalainen@…
Release Notes:
API Changes:

Description

When a ticket is marked as a duplicate the ticket link is displayed with a strike-through character in a wiki page or a search. This is confusing, since it indicates to the reader, that the issue is solved, which must not be the case. The ticket is simply marked as closed, but the request is still open.

Is it possible to use e.g. a double strike through character?

A much better solution would be the build in support for specifying the duplicate ticket, as suggested in #1395. Then the display could change depending on the status of the referenced duplicate ticket.

Attachments (0)

Change History (10)

comment:1 Changed 10 years ago by Christian Boos

Milestone: 0.12
Severity: normalminor

Double strike through would make the number pretty unreadable and furthermore that text decoration … doesn't exist in CSS2 (but could perhaps be emulated in CSS3 using text-underline-position).

Other than that, the suggestion is interesting, and we could introduce a duplicate class which would be mapped to the italic style.

comment:2 Changed 10 years ago by anonymous

I like the idea of differentiating these.

comment:3 Changed 10 years ago by osimons

For visualisations, keep an eye on #6088 and #5653 as well - potentially a number of things that could be visualised, but I suppose we then need a plan?

The problem I see with visualising 'duplicates' is that the the resolution may or may not exist. There may be no resolution types defined at all, or there can be any number of resolutions in any language. Options:

  • The resolution type of 'duplicate' could be raised to some higher level. Personally I don't see the duplicate resolution as anything special (-1 on this idea).
  • Add a new batch of trac.ini settings or extend the database schmea to store special meaning or style-related references, which is not so nice either (-1 on doing this).
  • Add implicit classes for rows based on enum columns displayed and their values. For instance, if a ticket is closed as 'wontfix' we add 'query-resolution-wontfix' to the class of the row (or container). Or 'query-resolution-duplicate' as in this request. Both will of course also have 'query-status-closed' and other classes. No default styles for this shipped with Trac, but at least it will be easily styleable for those that care - perhaps someone even makes a query-theme plugin one day. I'm ±0 on that.

Any other ways that I didn't think of?

comment:4 Changed 10 years ago by osimons

Got thinking about Query when I typed out my previous comment, but it of course relates to tickets in whatever context they appear. It was not meant to be query specific, it just reads that way :-)

comment:5 Changed 10 years ago by osimons

For links there is also the related idea of providing this information not as styles, but as extending the title attribute with more information: #6463

comment:6 Changed 8 years ago by Christian Boos

Milestone: next-major-0.1Xunscheduled

comment:7 Changed 8 years ago by Thijs Triemstra <lists@…>

Cc: lists@… added

comment:8 Changed 8 years ago by Mikko Rantalainen <mikko.rantalainen@…>

I think that a single resolution should be specified as the duplicate resolution in the trac.ini (e.g. "override_resolution_duplicate" in [ticket] section). It could default to "duplicate" but it would be easy to override for any language. I don't think that there needs to be any support for multiple different resolutions that all mean "duplicate". See also the second solution suggestion in #9799.

comment:9 Changed 8 years ago by Mikko Rantalainen <mikko.rantalainen@…>

Cc: mikko.rantalainen@… added

comment:10 Changed 3 years ago by Ryan J Ollos

Owner: Jonas Borgström deleted

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.
The owner will be changed from (none) to anonymous.

Add Comment


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