1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-25 13:09:08 +01:00
phorge-phorge/src/applications/conpherence
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
..
__tests__ Add participants ModularTransactions to Conpherence 2017-04-19 14:01:15 -07:00
application Update Conpherence to use EditEngine 2017-04-29 19:39:12 -07:00
conduit Mark ConpherenceCreate and Update conduit calls as frozen 2017-05-01 09:59:38 -07:00
config Move FontIcon calls to Icon 2016-01-28 08:48:45 -08:00
constants Update Conpherence to use EditEngine 2017-04-29 19:39:12 -07:00
controller Use Log In vs. Login when it's a verb 2017-08-02 12:26:47 -07:00
editor Allow "Change Subtype" to be selected from the comment action stack 2018-11-28 13:40:40 -08:00
engineextension Lift Conpherence indexing up out of the Fulltext index 2015-12-21 17:25:05 -08:00
lipsum Add a lipsum generator for Conpherence Rooms 2017-04-29 20:08:00 -07:00
mail Add participants ModularTransactions to Conpherence 2017-04-19 14:01:15 -07:00
phid Conpherence - remove room vs message distinction as far as users are concerned 2015-06-25 13:14:20 -07:00
policyrule Conpherence - remove room vs message distinction as far as users are concerned 2015-06-25 13:14:20 -07:00
query Update many Phabricator queries for new %Q query semantics 2018-11-15 03:48:10 -08:00
remarkup Conpherence - make ZXXX monograms a bit more useful. 2015-04-13 12:45:55 -07:00
storage Fix Conpherence theme variables for both logged-out and logged-in users 2017-04-22 09:23:39 -07:00
typeahead Add Room typeahead for Conpherence Search 2016-10-12 08:38:45 -07:00
view Separate button CSS classes 2017-06-05 20:14:34 +00:00
xaction Remove requireCapabilities() from ApplicationTransactionEditor and require CAN_EDIT by default 2018-08-24 17:45:56 -07:00
ConpherenceTransactionRenderer.php Convert date-marker to ModularTransaction in Conpherence 2017-04-13 13:01:36 -07:00