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
F15464365: D17445.id.diff
Wed, Apr 2, 8:53 AM
F15461473: D17445.diff
Tue, Apr 1, 8:34 AM
F15441725: D17445.id41942.diff
Wed, Mar 26, 7:35 PM
F15427448: D17445.id41942.diff
Sun, Mar 23, 2:31 PM
F15421813: D17445.diff
Sat, Mar 22, 2:21 AM
F15300125: D17445.id.diff
Mar 5 2025, 4:25 PM
Unknown Object (File)
Feb 22 2025, 12:08 PM
Unknown Object (File)
Feb 16 2025, 1:14 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
Branch
subtype7
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 15846
Build 20968: Run Core Tests
Build 20967: arc lint + arc unit