1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-21 17:58:47 +02:00
phorge-phorge/src/applications/differential/render
epriestley 56a9709008 Reduce code duplication for inline "Undo"
Summary:
Ref T2009. This is another almost-identical copy of the row scaffolding, which has the same 1up/2up bugs as the 8 other copies of this code.

Turn the "undo" element into an InlineCommentView so we can scaffold it.

Then, scaffold it with the same code as everything else.

Test Plan: Hit "Undo", swapped from 1up to 2up, hit "undo" again, swapped back, tried left/right, everything rendered with proper scaffolding.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T2009

Differential Revision: https://secure.phabricator.com/D12019
2015-03-09 10:26:53 -07:00
..
DifferentialChangesetHTMLRenderer.php Make images work in the unified diff view 2015-03-06 15:03:38 -08:00
DifferentialChangesetOneUpRenderer.php Make images work in the unified diff view 2015-03-06 15:03:38 -08:00
DifferentialChangesetOneUpTestRenderer.php Make "Show Context" persist rendering, whitespace, encoding, etc 2015-03-05 14:03:00 -08:00
DifferentialChangesetRenderer.php Reduce code duplication for inline "Undo" 2015-03-09 10:26:53 -07:00
DifferentialChangesetTestRenderer.php Fix another issue with line order on unified diffs 2015-03-05 16:24:04 -08:00
DifferentialChangesetTwoUpRenderer.php Make images work in the unified diff view 2015-03-06 15:03:38 -08:00
DifferentialChangesetTwoUpTestRenderer.php Make "Show Context" persist rendering, whitespace, encoding, etc 2015-03-05 14:03:00 -08:00
DifferentialRawDiffRenderer.php Move more hunk loads into DifferentialHunkQuery 2014-06-03 18:01:19 -07:00