Page MenuHomePhabricator

Update Legalpad for EditEngine
ClosedPublic

Authored by chad on May 10 2017, 12:33 AM.
Tags
None
Referenced Files
F13209422: D17862.id42956.diff
Fri, May 17, 12:03 AM
Unknown Object (File)
Sat, May 4, 7:06 PM
Unknown Object (File)
Tue, Apr 30, 11:31 PM
Unknown Object (File)
Sat, Apr 27, 11:06 AM
Unknown Object (File)
Thu, Apr 25, 10:54 PM
Unknown Object (File)
Apr 17 2024, 1:23 AM
Unknown Object (File)
Apr 10 2024, 7:10 AM
Unknown Object (File)
Apr 10 2024, 2:33 AM
Subscribers

Details

Summary

Updates Legalpad to use EditEngine, paving the way for transaction comments. Spooky.

Test Plan
  • New Document
    • Require signing, Corp - see fail
    • Require signing, Noone - see fail
    • Require signing, Ind - get asked to sign
  • Edit Document

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

The best way to do the "transaction X depends on transaction Y" stuff is currently Editor->validateAllTransactions(), PhabricatorCalendarEventEditor has an example. Rest of this looks good.

src/applications/legalpad/application/PhabricatorLegalpadApplication.php
58–59

Can we nuke this route now?

This revision now requires changes to proceed.May 10 2017, 3:27 PM
chad edited edge metadata.
  • add final transaction validations
chad edited the test plan for this revision. (Show Details)
epriestley added inline comments.
src/applications/legalpad/editor/LegalpadDocumentEditEngine.php
109–127

(Weird indentation?)

src/applications/legalpad/xaction/LegalpadDocumentRequireSignatureTransaction.php
61

Probably "invaliderror" is a better fit here.

This revision is now accepted and ready to land.May 10 2017, 9:56 PM
This revision was automatically updated to reflect the committed changes.