Menu

Commit [r4515]  Maximize  Restore  History

Blame branch: refactor the IHTMLPreviewAnnotator and add a few Javascript features

More specifically, create a dedicated `BlameAnnotator` class, encapsulating the logic for building blame annotations. This makes it easier to maintain state as the annotation is progressing. Here, we output only once the revision number in a block of consecutive lines belonging to the same revision.

The Javascript features are:
- hilight all lines belonging to the same revision, when the mouse hovers on the blame column
- clicking on the blame column toggles the display of the full changeset text

cboos 2007-01-08

changed /sandbox/blame/htdocs/css/browser.css
added /sandbox/blame/htdocs/js/blame.js
changed /sandbox/blame/templates/diff_div.html
changed /sandbox/blame/trac/versioncontrol/web_ui/browser.py
/sandbox/blame/htdocs/css/browser.css Diff Switch to side-by-side view
Loading...
/sandbox/blame/htdocs/js/blame.js Diff Switch to side-by-side view
Loading...
/sandbox/blame/templates/diff_div.html Diff Switch to side-by-side view
Loading...
/sandbox/blame/trac/versioncontrol/web_ui/browser.py Diff Switch to side-by-side view
Loading...