#1895 closed defect (fixed)
Make it easier to disable ticket details timeline events
Reported by: | Jonas Borgström | Owned by: | Christian Boos |
---|---|---|---|
Priority: | high | Milestone: | 0.10 |
Component: | ticket system | Version: | devel |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
- It's not intuitive to have to disable a specific component to disable a feature.
- This also makes it harder to refactor the code in the future without breaking compatibility.
- This feature should also probaably be disabled by default.
Attachments (2)
Change History (12)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
It's not intuitive to have to disable a specific component to disable a feature. This also makes it harder to refactor the code in the future without breaking compatibility.
Couldn't that be said for any component put in the
[disabled_components]
section?
Also, the difference between "Ticket changes" and "Ticket details" in the timeline options would be more obvious if instead of two checkboxes we had a Ticket changes combobox with the values None, Only status changes and All options.
I agree that being able to request the Ticket details without also having the Ticket changes selected doesn't make much sense.
But having the switch in the TracIni only is a bit restrictive: some users would like to have an overview, others would like more details… it all depends on the level of involvement of the user to the project. Trac's Trac can easily be configured without that feature, because people interested in all ticket changes can always subscribe to the Trac-Tickets mailing list, but for other projects it is certainly interesting to have that information directly available from Trac.
comment:3 by , 19 years ago
Owner: | changed from | to
---|---|
Priority: | normal → high |
I'll make a patch which will make that filter checked off by default.
by , 19 years ago
Attachment: | ticket_details_off_by_default.patch added |
---|
Enable timeline event provider to specify the default status of the filters (e.g. UpdateDetailsForTimeline is off by default)
comment:4 by , 19 years ago
Status: | new → assigned |
---|
The attachment:ticket_details_off_by_default.patch doesn't try to merge the UpdateDetailsForTimeline timeline event provider with the Ticket timeline event provider: it's afterall not that natural, the patch I came up with seems to "force" things too much. So I don't think it's worth it.
Also, if they are brought together, it becomes impossible to disable the feature completely.
comment:5 by , 19 years ago
Milestone: | 0.9 → 0.9.1 |
---|
by , 19 years ago
Attachment: | merged-ticket-event-provider.patch added |
---|
Integrated the UpdateDetailsForTimeline functionality within the Ticket's event provider. The code is much simpler and hopefully cleaner now. Patch made on source:trunk@2500.
comment:6 by , 19 years ago
There's now a patch (attachment:merged-ticket-event-provider.patch) which merge both ticket event providers into one.
I'm quite satisfied with the result, but nevertheless please review.
comment:7 by , 19 years ago
Keywords: | review added |
---|
comment:8 by , 19 years ago
Milestone: | 0.9.1 → 0.9.2 |
---|
comment:9 by , 19 years ago
Keywords: | review removed |
---|---|
Milestone: | 0.9.3 → 1.0 |
Resolution: | → fixed |
Status: | assigned → closed |
Updated patch applied as r2637.
comment:10 by , 19 years ago
Milestone: | 1.0 → 0.10 |
---|
Also, the difference between "Ticket changes" and "Ticket details" in the timeline options box is totally non-obvious. If showing every ticket change in the timeline is enabled through a config option, there should be no additional checkbox in the timeline options IMHO.