Page MenuHomePhabricator

Add a "summary" prose diff mode which omits unchanged text
ClosedPublic

Authored by epriestley on Jun 10 2016, 3:13 PM.
Tags
None
Referenced Files
F19615092: D16097.id.diff
Tue, Feb 3, 11:22 PM
F19581540: D16097.id38730.diff
Sun, Feb 1, 7:26 PM
F18813705: D16097.id38730.diff
Oct 20 2025, 6:39 PM
F18813704: D16097.id.diff
Oct 20 2025, 6:39 PM
F18813681: D16097.id38728.diff
Oct 20 2025, 6:27 PM
F18809878: D16097.id38728.diff
Oct 19 2025, 5:40 PM
F18809477: D16097.id.diff
Oct 19 2025, 2:22 PM
F18807887: D16097.id.diff
Oct 19 2025, 3:39 AM
Subscribers
None

Details

Summary

Ref T7643. When a user edits a large wiki page, we currently show the entire page in the diff.

Provide a mode where we summarize unchanged text. This tries to just remove the middle section of big "=" changes that have multiple lines/paragraphs.

Test Plan

Unit tests.

Diff Detail

Repository
rPHU libphutil
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Add a "summary" prose diff mode which omits unchanged text.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.Jun 10 2016, 4:25 PM
This revision was automatically updated to reflect the committed changes.