Defect #12681

Treat group assignments as assigned to me

Added by Daniel Felix almost 5 years ago. Updated over 4 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Jean-Philippe Lang% Done:

0%

Category:UI
Target version:2.4.0
Resolution:Fixed Affected version:2.1.4

Description

Hi there,

I just tried to define some CSS-Style which highlights tickets, which are assigned to me.

For this case, I tried to add a rule for tr.assigned-to-me, but this doesn't seem to be consistent.
The filtermenu treats tickets, which are indirectly assigned to me via group definition as tickets, which are assigned to me. But the css classes, doesn't seem to notice this indirect assignment. The class "assigned-to-me" is just added to tickets, which are directly added to me.

I don't know if this is more a bug or a feature request.

Best regards,
Daniel


Related issues

Related to Redmine - Defect #16038: Issue#css_classes corrupts user.groups association cache Closed

Associated revisions

Revision 12006
Added by Jean-Philippe Lang over 4 years ago

Adds 'assigned-to-my-group' css class to issues that are assigned to a user's group (#12681).

History

#1 Updated by Daniel Felix over 4 years ago

  • Target version set to 2.4.0

This is just a smaller improvement. We just need to determine if the user is implicit assigned to this issue.

Maybe with another CSS class.
.assigned-to-me = directly assigned
.assigned-to-group = assigned to any group
.assigned-to-my-group = indirectly assigned to a group, where I'm member off

This would give some good style ability of those assigned colums.
The both group classes can coexist together in one row.

Maybe I could try to provide a patch for this when I leave the hospital.

Best regards,
Daniel

#2 Updated by Jean-Philippe Lang over 4 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

assigned-to-my-group css class added in r12006. On the other side, assigned-to-group is not part of this defect and would add some overhead (the need to load assignee for each issue link that is displayed), it's not added for now.

#3 Updated by Toshi MARUYAMA almost 4 years ago

  • Related to Defect #16038: Issue#css_classes corrupts user.groups association cache added

Also available in: Atom PDF