Page MenuHomePhabricator

Respect token limits for "Assign to" and custom datasource fields in Herald
ClosedPublic

Authored by epriestley on Jan 19 2018, 10:46 PM.
Tags
None
Referenced Files
F15565704: D18887.id45299.diff
Thu, May 1, 7:04 AM
F15542017: D18887.id.diff
Fri, Apr 25, 3:04 PM
F15533630: D18887.id45299.diff
Wed, Apr 23, 8:50 PM
F15530737: D18887.diff
Wed, Apr 23, 7:05 AM
F15526932: D18887.diff
Mon, Apr 21, 11:51 PM
F15500203: D18887.diff
Sun, Apr 13, 4:44 PM
F15481074: D18887.diff
Tue, Apr 8, 5:57 PM
F15456450: D18887.diff
Mar 30 2025, 9:48 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable