Page MenuHomePhabricator

"No unused fields" doesn't make sense when there is no TemplateData present
Closed, DuplicatePublic1 Estimated Story Points

Description

When adding a template with no TemplateData, VisualEditor says "No unused fields". It would make more sense to say something like "No known fields", or to omit the message and/or the whole box entirely.

When adding a template with TemplateData (which could be incomplete), after you've used all of the known ones, VisualEditor says "No unused fields". It would make more sense to say "All known fields have been used".

The basic semantic point is that there may be fields (parameters) that have not been used, but that VisualEditor and TemplateData don't know about.

Event Timeline

omit the message and/or the whole box entirely

Omitting the box means no adding parameters for templates that don't yet have TemplateData written, which sucks.

Really? The box that says "No unused fields" isn't clickable and has no apparent function. We would need to keep the "Field name" box, but I don't see how the un-clickable, un-usable, non-functional "No unused fields" box is contributing anything to the process of adding parameters to anything.