Page MenuHomePhabricator

Build a page for viewing all inline comments
ClosedPublic

Authored by chad on Jun 10 2017, 1:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 17, 10:46 PM
Unknown Object (File)
Mon, Dec 16, 3:25 PM
Unknown Object (File)
Mon, Dec 9, 3:35 PM
Unknown Object (File)
Sat, Dec 7, 4:00 PM
Unknown Object (File)
Mon, Dec 2, 6:28 PM
Unknown Object (File)
Sat, Nov 30, 11:50 AM
Unknown Object (File)
Sat, Nov 30, 4:23 AM
Unknown Object (File)
Wed, Nov 27, 10:21 PM
Subscribers

Details

Summary

Adds a very basic list of all inline comments, threaded, and their status. Kept this a little simpler than the mock, mostly because sorting here feels a little strange given threads would be all over the place. Not sure sorted is needed in practice anyways. I'd probably lean towards just adding a JS checkbox to hide certain rows if needed in the future.

Test Plan

Test various commenting structures:

  • Leave Comment
  • Update Diff
  • Leave new comment
  • Reply to comment
  • Reply to comment as revision author
  • Mark items as done
  • Update diff again

image.png (1×2 px, 162 KB)

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad added a reviewer: epriestley.
epriestley added inline comments.
src/applications/differential/controller/DifferentialRevisionInlinesController.php
148

Add the methods to PhabricatorInlineCommentInterface, then implement them in DifferentialInlineComment and PhabricatorAuditInlineComment. In both cases, the implementation will roughly be return $this->proxy->getDateWhatever().

193

Unused / no callers.

293

Unused / no real callers.

src/applications/differential/parser/DifferentialChangesetParser.php
1047

You could technically revert all these thread/reorder changes if you want. I think they're fine to keep (probably a very mild net positive for codebase quality?) but not used in this version of the change (these changes, plus the new PHUIDiffInlineThreader class).

This revision is now accepted and ready to land.Jun 12 2017, 5:24 PM
chad marked 4 inline comments as done.Jun 12 2017, 6:24 PM
This revision was automatically updated to reflect the committed changes.