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)
Fri, Apr 12, 12:51 PM
Unknown Object (File)
Fri, Apr 12, 12:51 PM
Unknown Object (File)
Sun, Mar 31, 8:06 AM
Unknown Object (File)
Mar 13 2024, 2:15 PM
Unknown Object (File)
Feb 11 2024, 1:46 AM
Unknown Object (File)
Feb 3 2024, 4:11 PM
Unknown Object (File)
Jan 30 2024, 6:11 AM
Unknown Object (File)
Jan 28 2024, 12:11 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.