1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/applications/transactions/editfield
epriestley fab37aa4e3 When accepting revisions, allow users to accept on behalf of a subset of reviewers
Summary:
Ref T12271. Currenty, when you "Accept" a revision, you always accept it for all reviewers you have authority over.

There are some situations where communication can be more clear if users can accept as only themselves, or for only some packages, etc. T12271 discusses some of these use cases in more depth.

Instead of making "Accept" a blanket action, default it to doing what it does now but let the user uncheck reviewers.

In cases where project/package reviewers aren't in use, this doesn't change anything.

For now, "reject" still acts the old way (reject everything). We could make that use checkboxes too, but I'm not sure there's as much of a use case for it, and I generally want users who are blocking stuff to have more direct accountability in a product sense.

Test Plan:
  - Accepted normally.
  - Accepted a subset.
  - Tried to accept none.
  - Tried to accept bogus reviewers.
  - Accepted with myself not a reviewer
  - Accepted with only one reviewer (just got normal "this will be accepted" text).

{F4251255}

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12271

Differential Revision: https://secure.phabricator.com/D17533
2017-03-22 14:25:04 -07:00
..
PhabricatorApplyEditField.php When accepting revisions, allow users to accept on behalf of a subset of reviewers 2017-03-22 14:25:04 -07:00
PhabricatorBoolEditField.php Make the "All Day Event" control use a checkbox instead of a dropdown 2016-10-31 14:18:59 -07:00
PhabricatorColumnsEditField.php Implement a rough optgroup-based "Move on Workboard" stacked action 2016-04-06 09:15:12 -07:00
PhabricatorCommentEditField.php Allow the new Differential EditEngine form to create/update diffs for revisions 2016-12-14 07:27:25 -08:00
PhabricatorConduitEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorDatasourceEditField.php Modularize application extensions to EditEngine 2015-11-30 08:59:27 -08:00
PhabricatorDividerEditField.php Allow the new Differential EditEngine form to create/update diffs for revisions 2016-12-14 07:27:25 -08:00
PhabricatorEditField.php Prevent users from taking "edit"-like actions via comment forms if they don't have edit permission 2017-03-02 16:56:57 -08:00
PhabricatorEpochEditField.php Hide time controls when editing all-day Calendar events 2016-07-27 05:01:19 -07:00
PhabricatorFileEditField.php Make Calendar ICS imports sort of work in a crude, approximate way 2016-10-12 15:29:05 -07:00
PhabricatorHandlesEditField.php Replace workboard task creation with EditEngine 2015-12-08 17:56:11 -08:00
PhabricatorIconSetEditField.php Convert projects to EditEngine 2015-12-27 15:42:50 -08:00
PhabricatorInstructionsEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorPHIDListEditField.php Improve behavior of "owner" transaction in "maniphest.edit" endpoint 2016-01-11 09:19:18 -08:00
PhabricatorPointsEditField.php Support enabling a formal points field in Maniphest 2016-02-08 18:14:44 -08:00
PhabricatorPolicyEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorProjectsEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorRemarkupEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorSelectEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorSpaceEditField.php Prevent "Spaces" field from being set to inconsistent values 2015-12-17 11:22:32 -08:00
PhabricatorStaticEditField.php Convert DrydockBlueprints to EditEngine 2016-03-03 15:21:25 -08:00
PhabricatorStringListEditField.php Fix smushing of multiple values in Projects "Additional Hashtags" field 2016-01-18 08:34:13 -08:00
PhabricatorSubmitEditField.php Allow the new Differential EditEngine form to create/update diffs for revisions 2016-12-14 07:27:25 -08:00
PhabricatorSubscribersEditField.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorTextAreaEditField.php Fix an issue with TextAreaEditField affecting Paste 2016-05-11 15:35:17 -07:00
PhabricatorTextEditField.php Make "profile menu" configuration mostly work 2016-01-13 11:45:31 -08:00
PhabricatorTokenizerEditField.php Provide "Change Projects" and "Change Subscribers" (instead of "Add ...") in comment actions 2015-12-15 15:03:34 -08:00
PhabricatorUsersEditField.php Improve behavior of "owner" transaction in "maniphest.edit" endpoint 2016-01-11 09:19:18 -08:00