Page MenuHomePhabricator

When editing a subtyped object, use edit forms of the same subtype
ClosedPublic

Authored by epriestley on Mar 2 2017, 1:04 AM.
Tags
None
Referenced Files
F13181919: D17445.id.diff
Thu, May 9, 5:01 PM
Unknown Object (File)
Tue, May 7, 4:49 AM
Unknown Object (File)
Mon, May 6, 12:50 AM
Unknown Object (File)
Fri, May 3, 2:08 AM
Unknown Object (File)
Thu, May 2, 6:37 PM
Unknown Object (File)
Mon, Apr 29, 1:32 PM
Unknown Object (File)
Mon, Apr 29, 9:55 AM
Unknown Object (File)
Sat, Apr 27, 3:35 PM
Subscribers
None

Details

Summary

Ref T12314. When we pick an "Edit" form for a subtyped object, only consider forms with the same subtype.

For example, editing an "Animal" uses the forms with subtype "animal" which are marked as edit forms.

This also makes "Create Subtask" carry the parent task's type.

Test Plan
  • Edited an Animal, got an animal edit form.
  • Edited a normal task, got a normal task form.
  • Edited a paste, got the normal workflow.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable