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)
Thu, May 29, 9:07 AM
Unknown Object (File)
Apr 26 2025, 10:18 PM
Unknown Object (File)
Apr 11 2025, 4:48 PM
Unknown Object (File)
Apr 10 2025, 11:49 PM
Unknown Object (File)
Apr 5 2025, 9:01 PM
Unknown Object (File)
Apr 2 2025, 8:53 AM
Unknown Object (File)
Apr 1 2025, 8:34 AM
Unknown Object (File)
Mar 26 2025, 7: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