Vote #80920
完了Add an interface to filter activities by user
0%
説明
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":https://trac.edgewall.org/.
!{width: 779px; border: 1px solid grey;}.trac-timeline-by-author.png!
journals
--------------------------------------------------------------------------------
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).
--------------------------------------------------------------------------------
Here is a screenshot of the patch posted in #33602#note-2. In the sidebar, you can select a project member to show activity.
!{width: 1024px; border: 1px solid grey;}.user-field-on-activity-page.png!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
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).
--------------------------------------------------------------------------------
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?
--------------------------------------------------------------------------------
Setting the target version to 4.2.0.
--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------
related_issues
relates,New,7322,add ability to filter the activity page
relates,New,4791,Activity per project and user - missing link?