Page MenuHomePhabricator

Change the ZObject creation UX so that users are prompted to pick a type, instead of Z2K2 defaulting to a ZString
Closed, DuplicatePublic

Description

How to reproduce: go to CreateZObject

When trying to put a ZObject into the value field, I can only put in Strings for now.

The way to enter a ZObject of any other type is to delete the field, and then add a new Z2K2, which allows me to choose a type.

The step of removing the Z2K2 field and adding it again should be skipped.

Event Timeline

I think this should be dealt with by having the default value for Z2K2 be null, not '' (an empty string). Alternatively, just remove the Z2K2 from the default Persistent ZObject.

Jdforrester-WMF renamed this task from Z2K2 currently expects string per default to Change the ZObject creation UX so that users are prompted to pick a type, instead of Z2K2 defaulting to a ZString.Mar 24 2021, 10:14 PM