Opened 17 years ago
Last modified 10 years ago
#6820 new enhancement
change display for duplicate tickets
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | unscheduled |
Component: | ticket system | Version: | |
Severity: | minor | Keywords: | |
Cc: | lists@…, mikko.rantalainen@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal 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 by , 17 years ago
Milestone: | → 0.12 |
---|---|
Severity: | normal → minor |
comment:3 by , 17 years ago
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 by , 17 years ago
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 by , 17 years ago
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 by , 14 years ago
Milestone: | next-major-0.1X → unscheduled |
---|
comment:7 by , 14 years ago
Cc: | added |
---|
comment:8 by , 14 years ago
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 by , 14 years ago
Cc: | added |
---|
comment:10 by , 10 years ago
Owner: | removed |
---|
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.