Ilogeek / redmine_issue_dynamic_edit

Allows users to dynamically update (AJAX) issue's attributes from issue details page without any refresh (JIRA like)
http://www.redmine.org/plugins/redmine_issue_dynamic_edit
MIT License
134 stars 56 forks source link

Issue's style classes doesn't follow status nor priority #4

Closed TrumanRu closed 7 years ago

TrumanRu commented 7 years ago

I use custom styles to make accent on some priorities and statuses.

I change status or priority of an issue but classes of element #content > div.issue doesn't change.

TrumanRu commented 7 years ago

Some links.

  1. Priority classes: http://www.redmine.org/projects/redmine/repository/revisions/10720
  2. Changed issues css class from priority-{position} to priority-{id}: http://www.redmine.org/projects/redmine/repository/revisions/10079
  3. Changed issues css class from status-{position} to status-{id}: http://www.redmine.org/projects/redmine/repository/revisions/10078
  4. Add status, assigned_to and done_ratio classes to issue subtasks: http://www.redmine.org/projects/redmine/repository/revisions/15251
Ilogeek commented 7 years ago

Hello @TrumanRu

Thank you for your feedback. The problem was that it wasn't a full text value that was displayed but directly the input or dropdown list with a specific style. That's why your custom style didn't applied to them.

I edited the way to display edit fields in the 0.4.0 version and added the ability to update css class to the issue depending on its status and priority. Don't hesitate to tell me if you find any problem with the solution