Page MenuHomePhabricator

Make bulk edit <select /> fields a little more natrual and set options for subtype transactions
ClosedPublic

Authored by epriestley on Jan 19 2018, 2:57 PM.
Tags
None
Referenced Files
F13531176: D18878.diff
Sat, Jul 27, 4:23 AM
Unknown Object (File)
Tue, Jul 23, 6:12 AM
Unknown Object (File)
Tue, Jul 23, 12:39 AM
Unknown Object (File)
Tue, Jul 23, 12:36 AM
Unknown Object (File)
Mon, Jul 22, 11:40 PM
Unknown Object (File)
Sat, Jul 13, 2:40 PM
Unknown Object (File)
Sat, Jul 13, 7:26 AM
Unknown Object (File)
Mon, Jul 8, 2:08 AM
Subscribers
None

Details

Summary

Ref T13025. This is some minor technical stuff: make the "select" bulk edit type a little more consistent with other types by passing data down instead of having it reach up the stack. This simplifies the implementation of a custom field "select" in a future change.

Also, provide an option list to the "select" edit field for object subtypes. This is only accessible via Conduit so it currently never actually renders anything in the UI, but with the bulk edit stuff we get some initialization order issues if we don't set anything. This will also make any future changes which expose subtypes more broadly more straightforward.

Test Plan
  • Bulk edited "select" fields, like "Status" and "Priority".
  • No more fatal when trying to getOptions() internally on the subtype field.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable