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
F13237042: D18112.id43576.diff
Tue, May 21, 12:16 PM
F13234641: D18112.diff
Tue, May 21, 3:36 AM
F13215084: D18112.diff
Fri, May 17, 2:55 PM
F13208659: D18112.diff
Thu, May 16, 6:26 PM
F13208221: D18112.id43588.diff
Thu, May 16, 11:53 AM
F13189682: D18112.diff
Sat, May 11, 6:17 AM
Unknown Object (File)
Tue, May 7, 10:03 AM
Unknown Object (File)
Mon, May 6, 7:55 AM
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
Branch
arcpatch-D18112
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 17474
Build 23430: Run Core Tests
Build 23429: arc lint + arc unit

Event Timeline

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

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

192

Unused / no callers.

292

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.