Page MenuHomePhabricator

Allow the published version of a Phriction document to differ from the most recent version

Authored by epriestley on Aug 29 2018, 3:47 PM.



Depends on D19620. Ref T13077. This adds a "Publish" operation which points the current version at some historical version of the document -- not necessarily the most recent version. Newer versions become "drafts".

This is still quite rough and missing a lot of hinting in the UI, I'm just making it work so I can start making the UI understand it.

Test Plan

Used the "Publish" action to publish older versions of a document, saw the document revert. Many UI hints are missing and this operation is puzzling and not yet usable for normal users.

Diff Detail

rP Phabricator
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

epriestley created this revision.Aug 29 2018, 3:47 PM
epriestley requested review of this revision.Aug 29 2018, 3:48 PM
This revision was not accepted when it landed; it landed in state Needs Review.Aug 29 2018, 8:47 PM
This revision was automatically updated to reflect the committed changes.