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)
Tue, Oct 1, 2:28 PM
Unknown Object (File)
Fri, Sep 27, 12:38 PM
Unknown Object (File)
Sat, Sep 21, 1:47 AM
Unknown Object (File)
Sep 4 2024, 12:18 AM
Unknown Object (File)
Sep 2 2024, 6:51 AM
Unknown Object (File)
Aug 28 2024, 5:10 PM
Unknown Object (File)
Aug 25 2024, 1:54 AM
Unknown Object (File)
Aug 22 2024, 3:36 AM
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