Menu

Commit [r4516]  Maximize  Restore  History

Blame branch: when clicking on a blame column, the changeset view is dynamically fetched (XHR).

This changeset view is displayed in a separate panel, on top of the blame view. It also displays the diffs concerning the file being annotated. This make it possible to better grasp the context of the change (e.g. by seeing the deleted lines).

Also, the browser links in the diff lines are set to remain in ''annotate'' mode. This makes it possible to conveniently dig the history of a specific part of the code.

Finally, the highlighting of all the rows of a given revision is only done when clicking on a blame column, not anymore when hovering on the blame column.
Not only was this too slow for big files, but doing so makes it clear which are the lines in the file that are belonging to the changeset being displayed.

cboos 2007-01-08

changed /sandbox/blame/htdocs/css/browser.css
changed /sandbox/blame/htdocs/js/blame.js
changed /sandbox/blame/templates/browser.html
changed /sandbox/blame/templates/changeset.html
changed /sandbox/blame/trac/versioncontrol/api.py
changed /sandbox/blame/trac/versioncontrol/web_ui/browser.py
changed /sandbox/blame/trac/versioncontrol/web_ui/changeset.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/browser.html Diff Switch to side-by-side view
Loading...
/sandbox/blame/templates/changeset.html Diff Switch to side-by-side view
Loading...
/sandbox/blame/trac/versioncontrol/api.py Diff Switch to side-by-side view
Loading...
/sandbox/blame/trac/versioncontrol/web_ui/browser.py Diff Switch to side-by-side view
Loading...
/sandbox/blame/trac/versioncontrol/web_ui/changeset.py Diff Switch to side-by-side view
Loading...