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
Unknown Object (File)
Fri, Jan 17, 5:34 PM
Unknown Object (File)
Thu, Jan 9, 9:19 PM
Unknown Object (File)
Sun, Dec 29, 2:05 PM
Unknown Object (File)
Wed, Dec 25, 5:12 PM
Unknown Object (File)
Dec 22 2024, 5:07 PM
Unknown Object (File)
Dec 16 2024, 9:17 PM
Unknown Object (File)
Dec 9 2024, 1:07 AM
Unknown Object (File)
Dec 8 2024, 3:33 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