Page MenuHomePhabricator

Change PhabricatorPhurlURLViewController to use EditEngine for commenting
ClosedPublic

Authored by amckinley on Apr 13 2017, 11:36 PM.
Tags
None
Referenced Files
F13270839: D17686.id42534.diff
Wed, May 29, 12:31 PM
F13265311: D17686.id.diff
Tue, May 28, 3:02 AM
F13248956: D17686.id42571.diff
Fri, May 24, 5:43 AM
F13222773: D17686.diff
Sun, May 19, 3:57 AM
F13211095: D17686.id42534.diff
Fri, May 17, 5:28 AM
F13205426: D17686.diff
Wed, May 15, 1:56 AM
F13199981: D17686.id42571.diff
Mon, May 13, 8:21 PM
F13189093: D17686.diff
Sat, May 11, 5:43 AM
Subscribers

Details

Test Plan

Created a phurl, added some comments, confirmed that "Change Subscribers" and "Change Project Tags" are now available in the comment form.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad added inline comments.
src/applications/phurl/controller/PhabricatorPhurlURLViewController.php
72

Shouldn't need this div.

One minor fix beyond @chad's note.

src/applications/phurl/controller/PhabricatorPhurlURLViewController.php
34

While we're here, you can also add:

$timeline->setQuoteRef($url->getMonogram());

That should make the "Quote Comment" action available from the dropdown on the right hand side of comments in the timeline correctly quote comments like this:

In Uxxx#yyy, @some-user-name said:

Without setQuoteRef(), the link to the comment won't populate (I think the text just falls back to something generic). You can test this by quoting a comment.

This revision now requires changes to proceed.Apr 14 2017, 1:42 PM
amckinley edited edge metadata.
  • requested changes
This revision is now accepted and ready to land.Apr 17 2017, 5:18 PM
This revision was automatically updated to reflect the committed changes.