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
F14124683: D18112.id43589.diff
Sat, Nov 30, 4:23 AM
Unknown Object (File)
Wed, Nov 27, 10:21 PM
Unknown Object (File)
Sat, Nov 23, 6:43 AM
Unknown Object (File)
Wed, Nov 20, 1:30 PM
Unknown Object (File)
Sat, Nov 16, 9:37 AM
Unknown Object (File)
Mon, Nov 11, 10:15 PM
Unknown Object (File)
Fri, Nov 8, 8:08 PM
Unknown Object (File)
Fri, Nov 8, 7:24 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.