Vote #66722
未完了Issues colors
100%
説明
I've modified application.css, from Classic theme, so it now colors the issue according to its status and priority. Screenshots are attached.
Let me know what you think about it.
!issues_list.jpg!
!issue_description.jpg!
journals
Sorry, I forgot to attach application.css.
--------------------------------------------------------------------------------
I've changed the color in issue details, removed some bold styles and "depolluated" the code.
--------------------------------------------------------------------------------
Well, I'm still working on this.
Anyway, let me know what you think.
--------------------------------------------------------------------------------
Colors changed. I've got some feedbacks saying those were too "blinding".
Issue details has just a little tag in its priority.
!issues_list.jpg!
!issue_details.jpg!
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
+1. This would be very useful feature.
How will you define color for custom trackers?
--------------------------------------------------------------------------------
Those should be defined by each user itself.
I have implemented the same. Maybe I could provide a patch for it.
--------------------------------------------------------------------------------
Add related #1716.
--------------------------------------------------------------------------------
You have interessting ideas, but they are an intensive intervention to the current design. May you create a [[Themes|theme]] and publish it on that [[Theme_List|theme list]]. I think we shouldn't alter the default redmine theme like this.
Do you agree to close this issue?
--------------------------------------------------------------------------------
Filou Centrinov wrote:
> You have interessting ideas, but they are an intensive intervention to the current design. May you create a [[Themes|theme]] and publish it on that [[Theme_List|theme list]]. I think we shouldn't alter the default redmine theme like this.
>
> Do you agree to close this issue?
Yes indeed that finally this would be achieved using appropriate theme. The default theme may still remain not so heavy. The core idea is, currently no theme can do this right away unless Redmine provides css class per status/tracker etc. That is what this feature should achieve.
I don't think this is entirely unbelievable or a bad idea either. This issue shouldn't be closed!
--------------------------------------------------------------------------------
Add related - #13297, #6614, #1758, #1716, #1748, #8226, #9286, #13258, #10083
The issue #13297 & #6614, #1758 talks about icons for tracker hence a dedicated css class per tracker would serve both issues.
The issue #1716, #1748, #8226 talks about style that is based on status rather than tracker.
The issue #9286 and #13258 talks about styles for highlighting priority
The issue #10083 talks about color change for resolved issues (specific status based)
One more critical thing missing in the notes of all such issues is that themes are pre-created and are not _aware_ of available set of trackers or status. Hence, the theme should be able to provide a preset of classes and then there should be some UI way of associating them to specific
Based on all above - here is the gross requirements:
# A defined preset 'colorization, iconized' classes that can be used. (this can be standardized)
#* preset should be sizable (say 12 - 15 styles) which all themes can implement
# Class would define attributes under following context: (sorry if terminology is not accurate)
#* link_to_issue()
#* yellow ticket color, style, icons
#* issue context class
# A UI window displaying { status x tracker } permutation
# The admin can select which class to be used under what condition.
# Styling can be used (in consistent way) when issues are listed under:
#* Issue view,
#* Issue update page,
#* Issue query page,
#* Roadmap page and on context menu
#* Gantt and Calender
#* Mypage
# Changing theme should appropriately change appearance but shouldn't break things!
h4. Stretching even more -
We can also imagine an attribute on issue e.g. @issue_current_css_class@ which holds the value from any of the style list as possible value. If this is done, possibly (under some plugins) you can actually set the css.class as one of the fields or combination of fields reaches specific conditions.
for example:
# if the field 'customer feedback' < Good - the issue is colored 'Red'
# if the field 'QA Approved' - the issue is colored green.
# Specific styling "if the task is a 'subtask' of another.
# Issue having separate color if the issue is duplicate/ blocked by other.
I think I am stretching this issue a bit too much - but hope this ideas help simplifying and extending many styling needs fundamentally.
--------------------------------------------------------------------------------
I'm closing this issue, as it is duplicated throw #4967. #4967 has more details.
--------------------------------------------------------------------------------
Sorry wrong issue.
--------------------------------------------------------------------------------
Hi,
please take a look at #13747.
Thanks!
--------------------------------------------------------------------------------
version: Redmine 2.1.2.stable
css path: public/themes/alternate/stylesheets/application.css
--------------------------------------------------------------------------------
Can you provide a screenshot of this on the default theme?
Please take a look at the latest patch at #13747. Thanks.
--------------------------------------------------------------------------------
related_issues
relates,New,13258,Let user defines CSS color for priority and issue status
relates,Closed,1716,Coloration according to status
relates,New,13297,Adding icons for different trackers
relates,New,10083,Change the color of resolved issue
relates,New,1748,Customized Status Color in Project Gantt
relates,New,8226,Allow "roadmap style" on issue statuses
relates,New,9286,Should have color highlight on My page according to priority
relates,Closed,493,Enhancement request bonanza!!
relates,New,12789,Redmine - design study
relates,New,13747,Issue Colors Patch for #4967
duplicates,Closed,1758,Color-coding for issue trackers