1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-04 04:32:43 +01:00
phorge-phorge/src/applications/transactions/controller
epriestley 2f11001f6e Allow "Change Subtype" to be selected from the comment action stack
Summary:
Ref T13222. See PHI683. Currently, you can "Change subtype..." via Conduit and the bulk editor, but not via the comment action stack or edit forms.

In PHI683 an install is doing this often enough that they'd like it to become a first-class action. I've generally been cautious about pushing this action to become a first-class action (there are some inevitable rough edges and I don't want to add too much complexity if there isn't a use case for it) but since we have evidence that users would find it useful and nothing has exploded yet, I'm comfortable taking another step forward.

Currently, `EditEngine` has this sort of weird `setIsConduitOnly()` method. This actually means more like "this doesn't show up on forms". Make it better align with that. In particular, a "conduit only" field can already show up in the bulk editor, which is goofy. Change this to `setIsFormField()` and convert/simplify existing callsites.

Test Plan:
There are a lot of ways to reach EditEngine so this probably isn't entirely exhaustive, but I think I got pretty much anything which is likely to break:

- Searched for `setIsConduitOnly()` and `getIsConduitOnly()`, converted all callsites to `setIsFormField()`.
- Searched for `setIsLockable()`, `setIsReorderable()` and `setIsDefaultable()` and aligned these calls to intent where applicable.
- Created an Almanac binding.
- Edited an Almanac binding.
- Created an Almanac service.
- Edited an Almanac service.
- Edited a binding property.
- Deleted a binding property.
- Created and edited a badge.
- Awarded and revoked a badge.
- Created and edited an event.
- Made an event recurring.
- Created and edited a Conpherence thread.
- Edited and updated the diff for a revision.
- Created and edited a repository.
- Created and disabled repository URIs.
- Created and edited a blueprint.
- Created and edited tasks.
- Created a paste, edited/archived a paste.
- Created/edited/archived a package.
- Created/edited a project.
- Made comments.
- Moved tasks on workboards via comment action stack.
- Changed task subtype via comment action stack.

Reviewers: amckinley

Reviewed By: amckinley

Subscribers: PHID-OPKG-gm6ozazyms6q6i22gyam

Maniphest Tasks: T13222

Differential Revision: https://secure.phabricator.com/D19842
2018-11-28 13:40:40 -08:00
..
PhabricatorApplicationTransactionCommentEditController.php Modernize transaction comment editor 2015-06-29 11:30:27 -07:00
PhabricatorApplicationTransactionCommentHistoryController.php Update transactions for handleRequest 2015-12-02 07:59:36 -08:00
PhabricatorApplicationTransactionCommentQuoteController.php Update transactions for handleRequest 2015-12-02 07:59:36 -08:00
PhabricatorApplicationTransactionCommentRawController.php Correct a "bin/mail" command in "Show Raw Email" help text 2017-01-05 08:59:39 -08:00
PhabricatorApplicationTransactionCommentRemoveController.php Update transactions for handleRequest 2015-12-02 07:59:36 -08:00
PhabricatorApplicationTransactionController.php Policy Transactions - add a details view for custom policy 2014-04-29 09:42:54 -07:00
PhabricatorApplicationTransactionDetailController.php In prose diff dialogs (like "Show Details" in transactions), show "old", "new" and "diff" tabs 2016-11-07 15:18:19 -08:00
PhabricatorApplicationTransactionRemarkupPreviewController.php Support field previews in EditEngine 2015-12-27 08:17:18 -08:00
PhabricatorApplicationTransactionShowOlderController.php Modularize transaction/comment indexing in the FulltextEngine 2015-12-21 17:24:40 -08:00
PhabricatorApplicationTransactionValueController.php Convert all calls to 'IconFont' to just 'Icon' 2016-01-27 20:59:27 -08:00
PhabricatorEditEngineConfigurationDefaultCreateController.php Document how to customize forms in ApplicationEditor 2015-12-09 07:30:23 -08:00
PhabricatorEditEngineConfigurationDefaultsController.php Allow "Change Subtype" to be selected from the comment action stack 2018-11-28 13:40:40 -08:00
PhabricatorEditEngineConfigurationDisableController.php Allow EditEngine configurations to be disabled and marked as "Default" 2015-11-29 08:27:26 -08:00
PhabricatorEditEngineConfigurationEditController.php Allow ApplicationEditor forms to be reconfigured 2015-11-10 10:24:40 -08:00
PhabricatorEditEngineConfigurationIsEditController.php Allow EditEngine forms to be marked as "edit" forms 2015-12-08 13:00:30 -08:00
PhabricatorEditEngineConfigurationListController.php Make "profile menu" configuration mostly work 2016-01-13 11:45:31 -08:00
PhabricatorEditEngineConfigurationLockController.php Allow "Change Subtype" to be selected from the comment action stack 2018-11-28 13:40:40 -08:00
PhabricatorEditEngineConfigurationReorderController.php Allow "Change Subtype" to be selected from the comment action stack 2018-11-28 13:40:40 -08:00
PhabricatorEditEngineConfigurationSaveController.php Allow ApplicationEditor forms to be reconfigured 2015-11-10 10:24:40 -08:00
PhabricatorEditEngineConfigurationSortController.php Straighten out reorder permissions on form configurations 2015-12-19 07:36:00 -08:00
PhabricatorEditEngineConfigurationSubtypeController.php Allow EditEngine forms for objects which support subtyping to have a subtype configured 2017-03-02 04:18:06 -08:00
PhabricatorEditEngineConfigurationViewController.php Remove duplicate "Change Default Values" action in form editing workflow 2017-03-22 09:50:38 -07:00
PhabricatorEditEngineController.php Return 404 instead of undefined variable error when trying to edit a non-existent form 2016-02-18 09:54:47 -08:00
PhabricatorEditEngineListController.php Allow ApplicationEditor forms to be reconfigured 2015-11-10 10:24:40 -08:00