Page MenuHomePhabricator

Convert help popup to a tool group
Closed, ResolvedPublic

Description

In the VE toolbar, the help popup contains 3 "tools", but they are implemented as buttons, even though one already exists as a tool in core.

image.png (346×347 px, 27 KB)

By not using tools, we miss out on accessibility features, such as showing the keyboard shortcut, and the tools appearing in the toolbar search.

As the help tool also contains a header and footer we will need to extend ListToolGroup to support this.

Event Timeline

Change 928073 had a related patch set uploaded (by Esanders; author: Esanders):

[mediawiki/extensions/VisualEditor@master] Convert MWPopupTool into MWHelpListToolGroup

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

Separately, I'm not sure if we need the header message anymore ("If you encounter any technical issues..."). It was probably created when VE was in beta to encourage bug reporting.

Separately, I'm not sure if we need the header message anymore ("If you encounter any technical issues..."). It was probably created when VE was in beta to encourage bug reporting.

+1 to that.

(Oh, that's T341350 now)

Change 928073 merged by jenkins-bot:

[mediawiki/extensions/VisualEditor@master] Convert MWPopupTool into MWHelpListToolGroup

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

ppelberg claimed this task.