Page MenuHomePhabricator

Initial support for comments/append-edits in EditEngine
ClosedPublic

Authored by epriestley on Dec 2 2015, 7:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 28, 7:23 AM
Unknown Object (File)
Thu, Apr 25, 1:06 AM
Unknown Object (File)
Apr 8 2024, 7:44 AM
Unknown Object (File)
Mar 31 2024, 7:49 PM
Unknown Object (File)
Mar 6 2024, 5:35 AM
Unknown Object (File)
Mar 6 2024, 5:35 AM
Unknown Object (File)
Mar 6 2024, 5:35 AM
Unknown Object (File)
Mar 6 2024, 5:35 AM
Subscribers
None

Details

Summary

Ref T9132. This just replaces the "Add Comment" form in Paste with a generic flow in EditEngine.

No actual field-awareness or action stacking or anything quite yet, but that will come in a bit. This mildly regresses drafts (which don't seem like a big deal for Pastes). I'll hook those up again in the next diff, but I want to build them in a better way that will work with multiple actions in a generic way, and solve T5031.

Big practical advantage here is that applications don't need copy/pasted preview controllers.

Test Plan
  • Saw previews.
  • Added comments.

Diff Detail

Repository
rP Phabricator
Branch
ee29
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/applications/base/PhabricatorApplication.php:300XHP86Unsafe Usage of Dynamic String
Errorsrc/applications/base/PhabricatorApplication.php:302XHP86Unsafe Usage of Dynamic String
Advicesrc/applications/transactions/editengine/PhabricatorEditEngine.php:882XHP16TODO Comment
Unit
Tests Passed
Build Status
Buildable 9224
Build 10921: Run Core Tests
Build 10920: arc lint + arc unit

Event Timeline

epriestley retitled this revision from to Initial support for comments/append-edits in EditEngine.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.

Does this work for documents as well? I think Phame is our only commentable Document.

This revision is now accepted and ready to land.Dec 2 2015, 7:42 PM

Not yet, but it should by the time I get there.

This revision was automatically updated to reflect the committed changes.