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
F15548176: D17445.diff
Sat, Apr 26, 10:18 PM
F15490380: D17445.id41957.diff
Fri, Apr 11, 4:48 PM
F15488594: D17445.id41942.diff
Thu, Apr 10, 11:49 PM
F15473325: D17445.id41942.diff
Apr 5 2025, 9:01 PM
F15464365: D17445.id.diff
Apr 2 2025, 8:53 AM
F15461473: D17445.diff
Apr 1 2025, 8:34 AM
F15441725: D17445.id41942.diff
Mar 26 2025, 7:35 PM
F15427448: D17445.id41942.diff
Mar 23 2025, 2:31 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