1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-16 03:42:41 +01:00
phorge-phorge/src/applications/differential/controller
epriestley e9f4a84a89 Allow inline comments to be individually hidden
Summary:
Ref T7447. Implements per-viewer comment hiding. Once a comment is obsolete or uninteresting, you can hide it completely.

This is sticky per-user.

My hope is that this will strike a better balance between concerns than some of the other approaches (conservative porting, summarization, hide-all).

Specifically, this adds a new action here:

{F435621}

Clicking it completely collapses the comment into a small icon on the previous line, and saves the comment state as hidden for you:

{F435626}

You can click the icon to reveal all hidden comments below the line.

Test Plan:
  - Hid comments.
  - Showed comments.
  - Created, edited, deleted and submitted comments.
  - Used Diffusion comments (hiding is not implemented there yet, but I'd plan to bring it there eventually if it works out in Differential).

Reviewers: btrahan, chad

Reviewed By: btrahan

Subscribers: jparise, yelirekim, epriestley

Maniphest Tasks: T7447

Differential Revision: https://secure.phabricator.com/D13009
2015-05-27 10:28:38 -07:00
..
DifferentialChangesetViewController.php Allow inline comments to be individually hidden 2015-05-27 10:28:38 -07:00
DifferentialCommentPreviewController.php Migrate Differential revision edges to use modern EdgeType subclasses 2015-01-01 15:07:03 +11:00
DifferentialCommentSaveController.php Differential - return a better response for validation error cases 2015-01-20 13:59:17 -08:00
DifferentialController.php Provide a smoother "update diff" web workflow 2015-03-23 10:44:33 -07:00
DifferentialDiffCreateController.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialDiffViewController.php Move abandoned revisions to "needs review" when updated 2015-03-26 11:11:33 -07:00
DifferentialInlineCommentEditController.php Allow inline comments to be individually hidden 2015-05-27 10:28:38 -07:00
DifferentialInlineCommentPreviewController.php Allow inline comments to be individually hidden 2015-05-27 10:28:38 -07:00
DifferentialRevisionCloseDetailsController.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialRevisionEditController.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialRevisionLandController.php phtize all the things 2015-05-22 21:16:39 +10:00
DifferentialRevisionListController.php Provide a smoother "update diff" web workflow 2015-03-23 10:44:33 -07:00
DifferentialRevisionViewController.php Allow inline comments to be individually hidden 2015-05-27 10:28:38 -07:00