Page MenuHomePhabricator

VisualEditor: Double-clicking on a node (image/template/reference/…) should open its dialog
Closed, ResolvedPublic

Description

Especially for templates, having a faster way to open the inspector would be very helpful. Right now in the case of a large template, you have to first select the template, then mouse over to the puzzle piece location and click it. Just double-clicking/tapping the template seems like a straightforward and discoverable gesture.

For links and other nodes it may be less important, but what would be the disadvantages for just making open-on-double-click the default behavior for all nodes that have a primary inspector of some kind?


Version: unspecified
Severity: enhancement
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=54827

Details

Reference
bz50996

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:01 AM
bzimport set Reference to bz50996.

I think this would work best for nodes (i.e., things that have a dialog) and not for annotations (i.e., things that are either toggled like bold or superscript, or have only an inspector link links or language).

This would be a lot simpler from a UX perspective (consistency of action and explainability), and the change overall is a good quick affordance win.

  • Bug 51176 has been marked as a duplicate of this bug. ***

Sherry and I would really second Erik's suggestion.
We just had feedback from a user who was clueless about what to do with "a blue rectangle with a jigsaw icon".

Change 84461 had a related patch set uploaded by Krinkle:
WIP: Create ve.ce.ClickableNode mixin.

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

Change 103062 had a related patch set uploaded by Robmoen:
Create mixin for node that responds to node click events

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

Change 84461 abandoned by Robmoen:
WIP: Create ve.ce.ClickableNode mixin

Reason:
old

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

Change 103062 merged by jenkins-bot:
Create mixin that tries to execute primary node command

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