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
F17638936: D18887.id45333.diff
Fri, Jul 11, 5:12 PM
F17610204: D18887.diff
Wed, Jul 9, 7:26 AM
Unknown Object (File)
May 6 2025, 2:50 PM
Unknown Object (File)
May 1 2025, 7:04 AM
Unknown Object (File)
Apr 25 2025, 3:04 PM
Unknown Object (File)
Apr 23 2025, 8:50 PM
Unknown Object (File)
Apr 23 2025, 7:05 AM
Unknown Object (File)
Apr 21 2025, 11:51 PM
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