Homec4science

Add color to diffusion blame and improve plain view

Authored by jungejason <jungejason@fb.com> on Apr 1 2011, 03:28.

Description

Add color to diffusion blame and improve plain view

Summary:
query the database to get the epoch info for the commits, then
calculate the color depending on the epoch (the newer the commit, the
dark its color). Also improved the plain blame view for git, as the
git-blame doesn't produce a good display by default. Now we format the
output it from the data we fetches from the database.

Test Plan:
verify both git and svn browsing page work for 'plain',
'plainblame', 'highlighted' and 'highlightedblame' view.

Reviewed By: epriestley
Reviewers: epriestley
CC: epriestley, jungejason
Differential Revision: 93

Details

Committed
jungejason <jungejason@fb.com>Apr 1 2011, 19:25
Pushed
aubortJan 31 2017, 17:16
Parents
rPH3369147cab6d: Paginate Diffusion history views, respect 'pagesize' parameter.
Branches
Unknown
Tags
Unknown

Event Timeline

jungejason <jungejason@fb.com> committed rPH64cd4f969d2a: Add color to diffusion blame and improve plain view (authored by jungejason <jungejason@fb.com>).Apr 1 2011, 19:25