1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-10 05:48:30 +01:00
phorge-phorge/src/infrastructure/customfield/standard
epriestley fbfcc37531 Respect token limits for "Assign to" and custom datasource fields in Herald
Summary:
See PHI173. Currently, Herald has an "Assign to" action for tasks, and you can specify custom fields with datasource values (like users or projects) that have a limit (like 1 "Owner", or 12 "Jury Members").

Herald doesn't support these limits right now, so you can write `[ Assign to ][ X, Y, Z ]`. This just means "Assign to X", but make it more clear by actually enforcing the limit in the UI.

Test Plan:
  - Created a "projects" custom field with limit 1.
  - Tried to create actions that 'assign to' or 'set custom field to' more than one thing, got helpfully rebuffed by the UI.
  - Created an "add subscribers" action with more than one value.

Reviewers: amckinley

Reviewed By: amckinley

Differential Revision: https://secure.phabricator.com/D18887
2018-01-22 11:54:12 -08:00
..
PhabricatorStandardCustomField.php Convert projects to EditEngine 2015-12-27 15:42:50 -08:00
PhabricatorStandardCustomFieldBlueprints.php Allow "Repository Automation" to be configured for repositories 2015-10-13 15:45:59 -07:00
PhabricatorStandardCustomFieldBool.php Add "does not match regexp" to Herald 2016-02-11 15:29:38 -08:00
PhabricatorStandardCustomFieldCredential.php Fill in new URI credential edit web UI interfaces 2016-05-02 04:26:13 -07:00
PhabricatorStandardCustomFieldDatasource.php Provide a generic "Datasource" StandardCustomField 2015-09-21 04:41:52 -07:00
PhabricatorStandardCustomFieldDate.php Make custom "date" field feed stories human-readable 2016-01-12 07:11:26 -08:00
PhabricatorStandardCustomFieldHeader.php Stop "Header" fields (labels for form sections) from trying to generate Conduit edits 2017-02-10 07:39:39 -08:00
PhabricatorStandardCustomFieldInt.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00
PhabricatorStandardCustomFieldLink.php Fix ContainsConstraints for array-valued custom field constraints in "*.search" methods 2016-09-07 09:08:10 -07:00
PhabricatorStandardCustomFieldPHIDs.php Add "does not match regexp" to Herald 2016-02-11 15:29:38 -08:00
PhabricatorStandardCustomFieldRemarkup.php Update to use PHUIRemarkupView everywhere possible 2016-02-16 14:05:53 -08:00
PhabricatorStandardCustomFieldSelect.php Support "<select />" custom fields in bulk editor 2018-01-19 13:18:02 -08:00
PhabricatorStandardCustomFieldText.php Make "text" custom fields appear in ApplicationSearch again 2016-09-21 16:39:43 -07:00
PhabricatorStandardCustomFieldTokenizer.php Respect token limits for "Assign to" and custom datasource fields in Herald 2018-01-22 11:54:12 -08:00
PhabricatorStandardCustomFieldUsers.php Improve Conduit type handling for *.edit endpoints 2015-12-16 08:45:46 -08:00