Page MenuHomePhabricator

OOUI HTMLForm hides help text until clicked
Closed, ResolvedPublic

Description

For example:

Using 'vform':

vform.png (787×1 px, 60 KB)

Using 'ooui':

ooui.png (771×1 px, 46 KB)

The help text is hidden, which is significantly less useful.

Event Timeline

Legoktm raised the priority of this task from to Medium.
Legoktm updated the task description. (Show Details)
Legoktm added a project: MediaWiki-HTMLForm.
Legoktm added subscribers: Legoktm, Aklapper, matmarex.

It seems that OOjs UI's design assumes that these 'help' messages are "optional reads" (and that's how they are treated in VisualEditor's interface), while HTMLForm assumes that they are must-read. I don't think it's feasible to change it in OOjs UI today, but we can add a parallel system. I'm trying out some things on T106947.

Change 291522 had a related patch set uploaded (by Glaisher):
Allow providing 'notices' for OOUI HTMLForm fields

https://gerrit.wikimedia.org/r/291522

matmarex assigned this task to Glaisher.
matmarex removed a project: Patch-For-Review.

Patch was merged. Nothing changes by default, but you can now display extra description for OOUI form fields with 'notice', 'notice-message' or 'notice-messages'.