Project

General

Profile

Actions

Defect #12681

closed

Treat group assignments as assigned to me

Added by Daniel Felix almost 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Category:
UI
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

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 cacheClosed

Actions
Actions #1

Updated by Daniel Felix over 11 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

Actions #2

Updated by Jean-Philippe Lang over 11 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.

Actions #3

Updated by Toshi MARUYAMA almost 11 years ago

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

Also available in: Atom PDF