Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#6496 closed enhancement (wontfix)

User-specific background colours for inline diffs

Reported by: Alexander@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: version control/changeset view Version:
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

I have a slight red-green colourblindness. I rarely notice it, but the light red and green in inline diff backgrounds is hardly discernible for me. Wellm, I can change the red to a darker shade, so the lightness is different for both colours, making it easier for me to really recognise red as red and differentiate it from the light green for added lines.

The thing is that most other users do not like this and that the contrast to the darker red for changed characters within one line becomes weaker.

My question is: Is there any way I can tweak Trac into making those colours user-configurable? I would even welcome hacky ways of doing it, e.g. setting a local cookie or something. An option for changing the settings or switching a toggle in the user profile would be even nicer.

Attachments (0)

Change History (6)

comment:1 by sid, 16 years ago

Resolution: wontfix
Status: newclosed

I don't think this is something that will ever be added to trunk (unless you have better color suggestions). But if you use Firefox, I recommend having a look at the Greasemonkey addon

Then you could create a script to change the color for your Trac site that would only appear different on your browser. Something like this: Changes Lifehacker's grey post text to a more legible and contrasty black

lots of other examples here

comment:2 by Alexander Kriegisch, 16 years ago

Resolution: wontfix
Status: closedreopened
Type: defectenhancement

Excuse me for reopening the ticket. I do not want you to "fix" the product in any way, you totally misunderstood my inquiry. I want a customisation tip. If this is the wrong place to get it, please point me to another one. This is my first Trac inquiry.

The Firefox idea is nice, but I do not use Firefox very often. On Linux it is Konqueror, on Windows IE (Maxthon, to be more specific). I would like to fix it on the server side, not on the client side, becaus I change places quite often and cannot install plugins everywhere.

As for your comment "I don't think this is something that will ever be added to trunk": I presonally do not care, but many other who suffer from a more severe type of colourblindness than I do, might.

comment:3 by Christian Boos, 16 years ago

Resolution: wontfix
Status: reopenedclosed

Once Trac supports themeing (see for example the following proposal, TracDev/Proposals/ThemePlugins), we could ship a b&w theme by default for colorblind people. But there's no schedule for that yet.

For where to get the tip: better ask such questions on the Trac-users MailingList, tickets are usually not the right place for this, as state in the big red box (ah, right, "red" ;-) )

comment:4 by Alexander Kriegisch, 16 years ago

Ah, right, the mailing list. I should have tried that first, but I was unaware of the fact the the ticket system is just for product defects and enhancements, not for customisation.

And yes, I do see red and green, many shades of them. In my case it is just hard to recognise the difference when some shades of similar brightness are close to one another. :-)

BTW: Could you replace my e-mail address in post #1 by my full name, so the address is not harvested by spammers? I did not know the address would be publicly displayed.

in reply to:  4 comment:5 by Emmanuel Blot, 16 years ago

Replying to Alexander Kriegisch:

Ah, right, the mailing list. I should have tried that first, but I was unaware of the fact the the ticket system is just for product defects and enhancements, not for customisation.

For customization, http://trac-hacks.org would be the web site to look for. However, to bring up and discuss new ideas and features, you want to post to the MailingList.

This feature could be easily implemented as a plugin.

comment:6 by Emmanuel Blot, 16 years ago

Component: generalchangeset view

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.