1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-20 09:18:48 +02:00
phorge-phorge/webroot/rsrc/js/application/differential
epriestley ea8faedf0b Add very basic 1-up HTML renderer support
Summary:
  - Add a query parameter to select the diff renderer.
  - When we populate diffs, use the 1-up renderer if the device isn't a desktop. Don't switch renderers once the page has loaded since it will be a tremendous mess. We can add an "always use 1-up" preference later.
  - Tweak JX.Device so we avoid a race condition, where `JX.Device.getDevice()` may not be valid when other behaviors run.
  - Implement enough of the 1-up HTML renderer to provide a vague hint that it actually works.
  - Fix a couple of bugs with primitive construction.

Test Plan:
{F29168}
{F29169}

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T2009

Differential Revision: https://secure.phabricator.com/D4423
2013-01-14 14:20:35 -08:00
..
behavior-accept-with-errors.js Toggle accept warnings on reload 2012-12-17 12:31:00 -08:00
behavior-add-reviewers-and-ccs.js Use Javelin placeholders and new sorting rules broadly; consolidate tokenizer construction code 2012-03-09 15:46:39 -08:00
behavior-comment-jump.js Let the viewer collapse/expand individual files in a diff. 2012-06-13 16:52:42 -07:00
behavior-comment-preview.js Handle error in comment preview 2012-10-01 16:12:23 -07:00
behavior-diff-radios.js Bring Javelin into Phabricator via git submodule, not copy-and-paste 2011-05-08 13:20:10 -07:00
behavior-dropdown-menus.js Fix issues with Differential file toggling 2012-08-09 17:53:05 -07:00
behavior-edit-inline-comments.js Fix bug with mousein / mouseout event on comment preview at bottom of page 2012-08-15 15:07:56 -07:00
behavior-keyboard-nav.js Better explain 'h' keyboard shortcut in Differential 2012-11-06 11:50:31 -08:00
behavior-populate.js Add very basic 1-up HTML renderer support 2013-01-14 14:20:35 -08:00
behavior-show-all-comments.js Go to correct position after revealing comments 2012-02-26 13:13:51 -08:00
behavior-show-field-details.js Further improve unit/lint rendering 2012-05-01 10:15:56 -07:00
behavior-show-more.js Fix whitespace and unchanged file shields 2013-01-11 15:27:42 -08:00
behavior-toggle-files.js Don't jump when I open a link on background 2012-08-23 00:13:04 -07:00
behavior-user-select.js Enable selecting text in Differential shield and gap 2012-09-20 15:20:47 -07:00
DifferentialInlineCommentEditor.js Add a Delete link to Differential inline comment previews 2012-08-02 12:24:23 -07:00