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
F14091592: D17445.diff
Mon, Nov 25, 1:01 AM
Unknown Object (File)
Sat, Nov 23, 12:13 PM
Unknown Object (File)
Tue, Nov 19, 4:37 PM
Unknown Object (File)
Sun, Nov 17, 1:33 PM
Unknown Object (File)
Fri, Nov 15, 1:48 AM
Unknown Object (File)
Thu, Nov 14, 5:08 PM
Unknown Object (File)
Mon, Nov 11, 2:37 AM
Unknown Object (File)
Sat, Nov 9, 1:00 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
Branch
subtype7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15846
Build 20968: Run Core Tests
Build 20967: arc lint + arc unit