1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-22 05:20:56 +01:00
phorge-phorge/webroot/rsrc/js/application/diffusion
vrana e57f209056 Load blame in Diffusion by AJAX
Summary:
I have blame enabled by default and displaying files with long history takes easily over 10 seconds.
Load the blame data by AJAX instead.
This is actually doing more work and the total response time is longer but it's worth it for me as I am interested just in the file contents quite often.

I know you were talking about building blame cache but until we have it...

I'm not sure if the AJAX loading indicator in bottom right corner is enough to inform the user that we are loading it on background.

Test Plan:
?view=highlighted
?view=plainblame
?view=blame

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin

Differential Revision: https://secure.phabricator.com/D5244
2013-03-06 07:44:45 -08:00
..
behavior-audit-preview.js Add preview and drafts to audits 2012-02-27 13:00:23 -08:00
behavior-commit-branches.js Load commit branches and tags by AJAX 2012-07-31 17:01:41 -07:00
behavior-commit-graph.js Update tables to table-kit view. 2013-01-11 11:24:35 -08:00
behavior-jump-to.js Remove usage of JX.defer in favor of setTimeout 2011-08-10 18:09:59 -07:00
behavior-line-linker.js Don't reload page after clicking on Diffusion line link 2013-03-04 13:46:34 -08:00
behavior-load-blame.js Load blame in Diffusion by AJAX 2013-03-06 07:44:45 -08:00
behavior-pull-lastmodified.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00