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
F15513085: D16097.diff
Thu, Apr 17, 4:18 PM
F15497778: D16097.diff
Sun, Apr 13, 11:12 AM
F15489093: D16097.id.diff
Fri, Apr 11, 5:59 AM
F15486237: D16097.id38730.diff
Thu, Apr 10, 5:58 AM
F15480449: D16097.id.diff
Tue, Apr 8, 2:08 PM
F15426499: D16097.id38728.diff
Sun, Mar 23, 9:09 AM
F15420386: D16097.id.diff
Fri, Mar 21, 1:36 PM
F15419103: D16097.diff
Fri, Mar 21, 3:29 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
Branch
diff7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12597
Build 15991: Run Core Tests
Build 15990: arc lint + arc unit

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.