Feature #33602

Add an interface to filter activities by user

Added by Go MAEDA over 1 year ago. Updated 7 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Go MAEDA% Done:

0%

Category:Activity view
Target version:4.2.0
Resolution:Fixed

Description

The activity page already has a feature to show the activities of a user, but there is no UI to do it on the page. You have to go to the profile page of a user (/users/:id) or rewrite the URL by hand.

It would be nice to be able to select which user's activities are displayed on the Activity page, like Trac.

trac-timeline-by-author.png (307 KB) Go MAEDA, 2020-06-16 16:28

feature-33602.patch Magnifier (3.2 KB) Mizuki ISHIKAWA, 2020-07-16 07:06

user-field-on-activity-page.png (143 KB) Go MAEDA, 2020-12-28 03:38


Related issues

Related to Redmine - Feature #7322: add ability to filter the activity page New 2011-01-13
Related to Redmine - Feature #4791: Activity per project and user - missing link? New 2010-02-10

Associated revisions

Revision 20752
Added by Go MAEDA 7 months ago

Add an interface to filter activities by user (#33602).

Patch by Mizuki ISHIKAWA.

Revision 20781
Added by Go MAEDA 6 months ago

Add missing fixtures (#33602).

History

#1 Updated by Go MAEDA over 1 year ago

  • Related to Feature #7322: add ability to filter the activity page added

#2 Updated by Mizuki ISHIKAWA about 1 year ago

I will attach the patch.
I wrote the code to generate user options based on the code to generate the Author options in the issues filter(Query#author_values).

#3 Updated by Go MAEDA 9 months ago

Here is a screenshot of the patch posted in #33602#note-2. In the sidebar, you can select a project member to show activity.

#4 Updated by Mischa The Evil 8 months ago

  • Related to Feature #4791: Activity per project and user - missing link? added

#5 Updated by Mischa The Evil 8 months ago

I think this could be a nice addition. Nonetheless, its implementation is actually still incomplete as the activity view accepts any user instead of only users who are project members (which is also true for the author issues filter, btw). OTOH, I don't know what the best way to solve this issue completely is (as adding all users to the select tag is not feasible).

#6 Updated by Go MAEDA 8 months ago

Mischa The Evil wrote:

Nonetheless, its implementation is actually still incomplete as the activity view accepts any user instead of only users who are project members (which is also true for the author issues filter, btw).

Although the patch lacks a feature to select a user who is not a member of the project, I think it is useful in most cases even if the feature is not available. As you pointed out, issues filter does not have the feature too.

I think it would be better to merge this patch first, and then discuss the ability to select non-members as an additional improvement. What do you think?

#7 Updated by Go MAEDA 7 months ago

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

Setting the target version to 4.2.0.

#8 Updated by Go MAEDA 7 months ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA
  • Resolution set to Fixed

Committed the patch. Thank you.

Also available in: Atom PDF