Page MenuHomePhabricator

Finishing touches on keyboard shortcuts in the new template dialog
Open, Needs TriagePublic

Description

This is split from T290262: Add keyboard shortcuts for VE template dialog.

List of shortcuts for reference

ShortcutAction
Ctrl/Cmd + Shift + /Move a part in a multi-part template up/down, when selected in the sidebar
Ctrl/Cmd + DelDeletes a part (wikitext or template), when selected in the sidebar
Ctrl/Cmd + DAdds a template (possible if single or multi-part)
Ctrl/Cmd + Shift + YAdds a wikitext part
Ctrl/Cmd + Shift + DAdd undocumented parameter

Related Objects

Event Timeline

Change 735592 had a related patch set uploaded (by Andrew-WMDE; author: Andrew-WMDE):

[mediawiki/extensions/VisualEditor@master] [WIP] Add template shortcuts to VisualEditor's keyboard help dialog

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

With the current WIP patch, changes would look like that on the current shortcut help screen ( when I'm not on a Mac ).

Template Shortcuts Help.png (909×936 px, 143 KB)

With the current WIP patch, changes would look like that on the current shortcut help screen ( when I'm not on a Mac ).

Thanks @WMDE-Fisch - this is very helpful! And definitely needs some design review before it's ready to get picked back up. Will take a look at it this week.

ECohen_WMDE updated the task description. (Show Details)

After discussion with @Lena_WMDE it was decided that updating the shortcut conflict is the only thing that needs to be done before deployment. The rest is important to do but it is not a blocker and needs additional design time. Shortcut conflict was split into a separate ticket and then took this one out of the sprint for now until it's ready.