Closed Bug 412339 Opened 18 years ago Closed 18 years ago

Hard to read diff views

Categories

(support.mozilla.org :: Knowledge Base Software, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: cilias, Assigned: jason.barnabe)

Details

(Whiteboard: sumo_only theme)

Attachments

(1 file)

When looking at a diff for sumo article revisions, it's hard to tell what the difference is. For instance, many lines in the source of an article can be very long (probably a result of bug 398358), and if someone makes a spelling correction, I have to read the entire line and compare it with the previous version to find the difference.
I agree on this. Is this a simple theme issue? I see classes like diffadded, diffdeleted, etc in the html source. Jason, would you have time to fix this?
I can add CSS to the classes if that's all there is to it.
@-moz-document domain("support.mozilla.com") { .diffadded { background-color: #90ee90 !important; } .diffdeleted { background-color: #EE8070 !important; } .diffchar { background-color: yellow !important; } } Cram that in your favourite user style extension or userContent.css and tell me what you think. Added lines are in green. Removed lines are in red. For changes, there will be an add a remove line, and the exact text that changed will be in yellow. Changes
Assignee: nobody → jason_barnabe
Much better. The default diff format is having problems with showing whitespace changes still, but that shouldn't be an overall problem, but just one that came up with the help conversions.
This looks very good.
Attached patch patchSplinter Review
Attachment #298376 - Flags: review?(nelson)
Attachment #298376 - Flags: review?(nelson) → review+
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
When will this go live?
Steffen, we should schedule a new live server push this week.
Now live.
Status: RESOLVED → VERIFIED
Whiteboard: tiki_string
Whiteboard: tiki_string → sumo_only theme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: