Feature #3058

User Filtering of Issue History

Added by Nick Read about 8 years ago. Updated 22 days ago.

Status:NewStart date:2009-03-26
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Issues
Target version:3.5.0
Resolution:

Description

We have some issues where there are so many Status/priority/custom fields changes that you have to scroll heaps to find the useful messages that users have written.

It would be nice to be able to filter out things from the issue history. For example, next to the "History" text you could have the links "Show All" and "Show Messages". Selecting "Show Messages" would only show non-empty messages. It would also be great to remember the last selected option for the remaining session at a minimum (globally, probably not per issue to avoid overheads), or have a default in the user preferences.

show-all-journals.png - screenshot1 (the feature is disabled) (60.4 KB) Go MAEDA, 2015-09-23 09:08

show-notes-only.png - screenshot2 (the feature is enabled) (38.4 KB) Go MAEDA, 2015-09-23 09:08

show-notes-only.diff Magnifier - patch (2.31 KB) Go MAEDA, 2015-09-23 09:09

show-notes-only-2.diff Magnifier - patch (updated) (2.26 KB) Go MAEDA, 2015-09-23 15:14

trac-show-property-changes.png (69.2 KB) Go MAEDA, 2015-11-23 03:52

RedmineTabs.png (9.94 KB) budo kaiman, 2015-11-23 13:32

JiraTabs.png (12.8 KB) budo kaiman, 2015-11-23 13:33

history-notes.png - screenshot (notes; show-notes-only-v3) (52.1 KB) Go MAEDA, 2016-02-16 04:08

history-all.png - screenshot (history; show-notes-only-v3) (78.3 KB) Go MAEDA, 2016-02-16 04:08

show-notes-only-v3.diff Magnifier - patch (2016-02-16) (3.03 KB) Go MAEDA, 2016-02-16 05:18

01_allow-tabs-to-have-a-custom-action.patch Magnifier (2.48 KB) Marius BALTEANU, 2017-05-01 15:54

02_show-issue-history-in-tabs.patch Magnifier (8.05 KB) Marius BALTEANU, 2017-05-01 15:55

03_move-changesets-to-its-own-tab.patch Magnifier (7.91 KB) Marius BALTEANU, 2017-05-01 15:56

04_add-time-entries-tab-to-issue-history-tabs.patch Magnifier (5.07 KB) Marius BALTEANU, 2017-05-01 15:57

05_load-changesets-and-time-entries-tabs-async.patch Magnifier (11.8 KB) Marius BALTEANU, 2017-05-01 15:58

06_load-remote-tab-only-once.patch Magnifier (1.57 KB) Marius BALTEANU, 2017-05-01 15:59

issue_tabs.png (157 KB) Marius BALTEANU, 2017-05-01 16:29


Related issues

Related to Redmine - Feature #3046: Mix associated revisions with journal entries New 2009-03-25
Related to Redmine - Feature #15409: Is it possible to view History section in pages? New
Related to Redmine - Feature #8536: Separate notes/comments from issue updates New 2011-06-06
Related to Redmine - Feature #4487: Add better presentation of issue status history New 2009-12-25
Related to Redmine - Feature #12194: Source control revisions should be integrated as part of ... New

History

#1 Updated by Nick Read about 8 years ago

I didn't see any other issues like this when I submitted, but I just noticed that this is similar to #3037 - not a duplicate, but similar.

#2 Updated by Nick Read about 8 years ago

I also just noticed that if #3046 were to be implemented, then it would work as another filter type in my proposal - "Show Associated Revisions"

#3 Updated by Paul Quirk about 8 years ago

I'm happy with Nick's proposal for filtering as this covers most of the problem I was talking about in #3037.

#4 Updated by Paul Quirk about 8 years ago

One other counter to this would be to set the "Show All" or "Show messages" flag at the role level. You could still have the toggle at the "history" level to override this.

#5 Updated by Michael Onevelo over 6 years ago

This issue seems to have grown stagnant but seems to be very helpful. At a minimum there should be the ability to filter out the history to show only the notes added to an issue (and vice versa).

#6 Updated by Adam Sneller over 5 years ago

+1
There is an Issue History Tab plugin that works with 1.2.2. But the comment feature is buggy. Of course if anyone wants to take a shot a fixing it...

Here is a link to the issue:
https://github.com/tastapod/redmine_issue_history_tabs/issues/4

#7 Updated by Kevin O almost 5 years ago

+1. The way I would envision this is simply, for both default and custom fields, have an option to select whether or not they show in the Issue History.

For instance, we have a custom field called "Order" which we use for a custom backlog view to let product managers sort what's next in the pipeline. They move things around a lot, so the issue histories are cluttered up with perhaps a couple dozen or more messages of "Order changed to xx". Being able to select to hide changes to that field would be great.

#8 Updated by Go MAEDA over 2 years ago

  • Related to Feature #15409: Is it possible to view History section in pages? added

#9 Updated by Go MAEDA over 1 year ago

  • Related to Feature #8536: Separate notes/comments from issue updates added

#10 Updated by Go MAEDA over 1 year ago

I wrote a patch to implement this issue.
This patch introduces a new checkbox "Show notes only". We can hide/show details by checking it.

showing all journals, like current Redmine:
screenshot1 (the feature is disabled)

showing notes only:
screenshot2 (the feature is enabled)

#11 Updated by Go MAEDA over 1 year ago

Go MAEDA wrote:

I wrote a patch to implement this issue.
This patch introduces a new checkbox "Show notes only". We can hide/show details by checking it.

Updated the patch (code cleanup): show-notes-only-2.diff

#12 Updated by Go MAEDA over 1 year ago

  • Target version set to Candidate for next major release

#13 Updated by Go MAEDA over 1 year ago

Could this be included in 3.2.0? By this change, users can easily see all conversation on a issue. It increases productivity.

trac already has this feature (see the following screenshot).

#14 Updated by budo kaiman over 1 year ago

I don't think a checkbox looks very good there. I'm using the Redmine Issue Detailed Tabs & Time plugin which adds tabs for different sections. This looks much better than a toggle check and offers more possible functionality. Tabs are used in Jira and it looks much cleaner.

Redmine plugin:

Jira:

#15 Updated by Alexander Ryabinovskiy over 1 year ago

budo kaiman wrote:

I don't think a checkbox looks very good there. I'm using the Redmine Issue Detailed Tabs & Time plugin which adds tabs for different sections. This looks much better than a toggle check and offers more possible functionality. Tabs are used in Jira and it looks much cleaner.

I Agree, Jira`s tabs variant is much better. It can be extended to show "Work Log", "Commits' tabs in the future.

#16 Updated by Sebastian Paluch over 1 year ago

+1 for tabs

#17 Updated by Jean-Philippe Lang over 1 year ago

  • Target version changed from 3.2.0 to 3.3.0

I think we need a bit more time for this and 3.2.0 is now scheduled for the next week.

#18 Updated by Alexander Lyzhenkov over 1 year ago

+1

#19 Updated by Go MAEDA over 1 year ago

Here is a updated patch: show-notes-only-v3.diff
We can use tabs to switch views.

"All" tab (notes, details) :
screenshot (history; show-notes-only-v3)

"Notes" tab (notes only) :
screenshot (notes; show-notes-only-v3)

#20 Updated by Go MAEDA over 1 year ago

Sorry, some files were missing in the patch.

#21 Updated by Go MAEDA over 1 year ago

  • File deleted (show-notes-only-v3.diff)

#22 Updated by Marius BALTEANU over 1 year ago

Hi,

The solution with 2 tabs is good, but in my opinion it'll be very helpful for the users to have also the following tabs available:
- Spent time: with all the spent times added to the respective issue (of course, depending on the user rights)
- Activity: all the entries without notes

That means 4 tabs in totals:
- All (activity + notes)
- Activity
- Notes
- Spent Times

Maybe also the associated revisions can be added as tab, but I'm not sure about this one :)

If you're agree with this proposal we can contribute with an updated patch which implement the tabs.
Go MAEDA wrote:

Here is a updated patch: show-notes-only-v3.diff
We can use tabs to switch views.

#23 Updated by budo kaiman over 1 year ago

Marius Balteanu wrote:

Hi,

The solution with 2 tabs is good, but in my opinion it'll be very helpful for the users to have also the following tabs available:
- Spent time: with all the spent times added to the respective issue (of course, depending on the user rights)
- Activity: all the entries without notes

That means 4 tabs in totals:
- All (activity + notes)
- Activity
- Notes
- Spent Times

Spent time would be a good tab to have, but Activity should definitely be part of this.

Marius Balteanu wrote:

Maybe also the associated revisions can be added as tab, but I'm not sure about this one :)

Personally, I think that the associated revisions should be a tab and not have the weird little sidebar thing. If the patch to implement tabs is accepted, moving revisions to a tab should be done as a new feature, not part of this.


One general comment that I have about the patch (just from a quick glance, if I missed something let me know) is that the default tab probably shouldn't always be "All". This could probably be handled in a few ways, below are some options (the second being my preferred method):

  • Add a default tab setting
  • Remember the last tab the user used with "All" as default at first

#24 Updated by Rupesh J about 1 year ago

Hi,
During this implementation, Can you please also consider to provide a hook.
We have already defined some tabs in the ticket history region through a plugin development(currently overriding the corresponding partial).
Thanks.

#25 Updated by Jean-Philippe Lang about 1 year ago

  • Target version changed from 3.3.0 to 3.4.0

There's still some work to implement what is requested here (additional tabs, hook, memorization of last tab...)

#26 Updated by Go MAEDA about 1 year ago

Jean-Philippe Lang wrote:

There's still some work to implement what is requested here (additional tabs, hook, memorization of last tab...)

I think that we can implement only show-notes-only-v3.diff in 3.3.0 and other requests in future releases.

#27 Updated by Dipan Mehta 12 months ago

This is great work going on.

There is another issue where the same was discussed in great detail - #4487 Do check and try to use some of these ideas.

Add related #4487.

#28 Updated by Go MAEDA 12 months ago

  • Related to Feature #4487: Add better presentation of issue status history added

#29 Updated by Marc M. 9 months ago

Go MAEDA wrote:

Jean-Philippe Lang wrote:

There's still some work to implement what is requested here (additional tabs, hook, memorization of last tab...)

I think that we can implement only show-notes-only-v3.diff in 3.3.0 and other requests in future releases.

We got some issues with time spent feature after applying show-notes-only-v3.diff
If you click on the spent time summit in the issues description ( which links to /issues/1111/time_entries ) the issues just reloads instead of showing a list of all time entries for the issue.
Anyone else got this problem?

#30 Updated by Artem - 7 months ago

@Mark, did you manage to resolve the issue with time entries?

#31 Updated by Jean-Philippe Lang 4 months ago

  • Target version changed from 3.4.0 to Candidate for next major release

Still some work to be done.

#32 Updated by Marius BALTEANU 24 days ago

I've attached a series of patches that implement this feature. Because the change is quite big, I've split the changes in multiple patches.

01_allow-tabs-to-have-a-custom-action.patch

This patch allows render_tabs to have custom action for onclick and also, make the partial rendering optional. In this way, tabs can use the same div (partial) for displaying content.

02_show-issue-history-in-tabs.patch

This patch display issue history in three tabs:
  • All: all journals
  • Notes: only journals with notes
  • History: only journals with history changes and without notes

The notes tab is default when the tab parameters doesn't exists.

03_move-changesets-to-its-own-tab.patch

This patch moves the associated revisions to a new tab and uses the look and feel from the journals to display the changesets.

04_add-time-entries-tab-to-issue-history-tabs.patch

This patch adds a new tab with the issue's visible spent times. The same look and feel from journals is used. Related to #5061.

05_load-changesets-and-time-entries-tabs-async.patch

This patch changes the way in which the changesets and time entries tabs are loaded in order to use ajax calls only on user request. In this way, we speed up a little bit the issue show page. Journals are still loaded in the same time with the issue.

06_load-remote-tab-only-once.patch

I think it doesn't worth it to make an ajax call each time when the user clicks on changeset or time entries tabs

Let's discuss this implementation for Redmine 3.5.0 (I think that the change is too big for 3.4.0). In Zitec, we're using from the beginning some plugins that implement the tabs, but each time we had multiple issues with them. I really think that this feature is needed and also, having the tabs async implemented, we can add more features in the future (some examples: affected branches and files from git revisions, time in state..).

Regarding the memorization of last tab, I'm not sure that is a good idea because if I'm on the changeset tab of the current issue, it doesn't mean that I want to see the same tab first when I open the next issue. If it's really required, I prefer to have it configurable.

Any feedback is appreciated (attached is a printscreen with all 5 tabs).

#33 Updated by Go MAEDA 24 days ago

  • Target version changed from Candidate for next major release to 3.5.0

Jean-Philippe Lang wrote:

Still some work to be done.

New patches have been submitted by Marius BALTEANU.
Let's consider implementing this feature.

#34 Updated by budo kaiman 23 days ago

Any feedback is appreciated (attached is a printscreen with all 5 tabs).

This looks excellent, one small comment I have is that it would be nice to have avatars shown in the "Associated Revisions" tab like they are for other journals.

Regarding the memorization of last tab, I'm not sure that is a good idea because if I'm on the changeset tab of the current issue, it doesn't mean that I want to see the same tab first when I open the next issue. If it's really required, I prefer to have it configurable.

I can understand why you feel that way, but I still believe it would be useful. Particularly, if I wanted to go through the time log or commit history of a bunch of issues, I would scroll through and open them. If the last tab was remembered then I'd only have to change tab once when I started and then change it back to whatever I want to see when I open the next issue after I'm done. If it were a configurable setting then I'd either have to change the tab for each issue I view, or navigate the settings to change the default before and then after, both of which can be a bit cumbersome. If you still feel opposed to it, that's fine but I'd at least like to express why I feel it would be valuable.

#35 Updated by Marius BALTEANU 23 days ago

budo kaiman wrote:

This looks excellent, one small comment I have is that it would be nice to have avatars shown in the "Associated Revisions" tab like they are for other journals.

The avatars are already added, but they are missing from the screenshot because the feature is disabled on my local environment.

I can understand why you feel that way, but I still believe it would be useful. Particularly, if I wanted to go through the time log or commit history of a bunch of issues, I would scroll through and open them. If the last tab was remembered then I'd only have to change tab once when I started and then change it back to whatever I want to see when I open the next issue after I'm done. If it were a configurable setting then I'd either have to change the tab for each issue I view, or navigate the settings to change the default before and then after, both of which can be a bit cumbersome. If you still feel opposed to it, that's fine but I'd at least like to express why I feel it would be valuable.

It is a valid point of view. What about having the "Last visited tab" as an option in the default tab setting (along with the tabs)? Basically, each Redmine administrator can set as default tab setting for issues one of the following options: All, Notes, History, Spent time, Associated Revisions and Last visited tab.

#36 Updated by budo kaiman 22 days ago

It is a valid point of view. What about having the "Last visited tab" as an option in the default tab setting (along with the tabs)? Basically, each Redmine administrator can set as default tab setting for issues one of the following options: All, Notes, History, Spent time, Associated Revisions and Last visited tab.

I think that is a very sensible solution, though I'm not sure if it would be better as a user preference than an administrator setting.

#37 Updated by Mischa The Evil 19 days ago

  • Related to Feature #12194: Source control revisions should be integrated as part of the history. added

Also available in: Atom PDF