Jira Comment Highlighter

By BlindWanderer Last update Oct 4, 2009 — Installed 456 times. Daily Installs: 0, 1, 0, 0, 2, 0, 1, 3, 3, 0, 1, 1, 0, 0, 1, 1, 2, 1, 1, 4, 2, 4, 0, 0, 0, 0, 3, 1, 7, 0, 3, 0
Script Summary:
Colors issue comments and changes.
Version: 2.0
Recently Updated TopicsPosts
feedback2

this script has 1 topic, 2 posts

Review Summary
5 stars
1 reviews (1)
4 stars
0 reviews (0)
3 stars
0 reviews (0)
2 stars
0 reviews (0)
1 star
0 reviews (0)

this script has 1 review

Features

  • Highlight comments and changes, with unique colors for:
    • Reporters
    • Assignee
    • Administrator
    • Logged in User
    • Critical Changes to the issue (Resolution & Status)
    • Interesting Changes to the issue (Priority, Key, Assignee)
  • Diff Highlighting - Changes in text are highlighted.
    • Two modes, side by side and combined.
    • Mode is specified by the section, variables are: SideBySideDiff & CombinedDiff.
  • Collapse and resize Changes.
    • Drag the gray bar at the bottom of the section to resize it.
    • Double click the bar to autosize it.
    • Double click it again to shrink it.
    • Hover the mouse over when shrunk and it will pop to autosize
    • Click the text while in autosize mode and it will make it stick open.
    • Configure the default of auto collapsing by changing the value of CollapsedAtStart in the script.

To configure the script edit the constants at the top of the script.

Requires CSS3 (rgba support for color), can be found in Firefox 3.

Changes

  • 2.0
    • Fixed: User names containing single quotes.
    • Improvement: Added domain based configuration.
  • 1.10
    • Fixed: Collision of words and keywords caused script to crash.
    • Change: CSS tweak
  • 1.9
    • New: Deleted comments are now treated like one half of a diff.
    • Change: Use CSS instead of inline style for the bulk of the script
    • Change: Refactor Buffer class (should be faster).
  • 1.8
    • Fixed: < & > weren't being escaped, caused some rare problems.
    • Fixed: "Show" link now has proper background.
    • Fixed: Incompatibility with "Jira Change Combiner" (it wasn't play nice with the class)
    • Minor tweaks to the Style.
    • Removal of superfluous sections.
  • 1.7
    • Fixed a bug whereby the whitespace was being stripped before and after non-text elements (links, images).
    • Changed the dif/ins tagging to use a smart buffer. It's a bit slower but it collapses adjacent tags where ever possible (this can be turned off by adjusting the value of Debug_diffString).
  • 1.6
    • Rolled back part of Change:92921 was causing resizing problems.
    • Updated splitter regex. Some day I'll get around to doing it properly.
  • 1.5
    • Collapse Changes sections titles are now colored so they stand out.
    • Double clicking the section title cell causes it to toggle between full and hidden mode (just like what it does on the gray resize bar).
    • Some minor tweaks to the diff engine.
  • 1.4
    • New: Collapsible/Resizable sections in changes tab, applied to the Description field by default.
    • New: Diff highlighting, colors removed and added text in the change tab, applied to Description by default.
    • Fixed: Xpath expression didn't select everything they were supposed to.
    • KNOWN BUG: "Show" link for collapsed comments is the wrong color (I don't know why this is happening).
    • KNOWN BUG: Any attribute that isn't an attribute (events registered by script) will be lost during diff ~ tried to fix this but it requires a major redesign (I started but the rabbit hole kept getting deeper).
  • 1.3
    • Better user name detection
    • Better comment field identification
    • KNOWN BUG: "Show" link for collapsed comments is the wrong color (I don't know why this is happening).