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
Unknown Object (File)
Oct 24 2024, 8:59 PM
Unknown Object (File)
Oct 20 2024, 4:51 PM
Unknown Object (File)
Oct 16 2024, 3:27 AM
Unknown Object (File)
Oct 1 2024, 5:51 PM
Unknown Object (File)
Sep 27 2024, 9:20 PM
Unknown Object (File)
Sep 16 2024, 5:36 AM
Unknown Object (File)
Sep 6 2024, 1:46 AM
Unknown Object (File)
Sep 5 2024, 10:40 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