mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 16:34:21 +00:00
58c078437d
When there are just two modes, using arrow keys to switch between them is not intuitive. The focus moving from the selector to the body widget afterwards is even less intuitive. Override default TabOptionWidget to allow options to be highlightable (not just immediately selectable), and mark the current mode's tab as disabled instead of selected (but make it look selected). This results in intuitive keyboard interactions (tabbing to the widget highlights the other tab rather than the current one, pressing enter switches to it). Bug: T274423 Change-Id: I9d358d5f301cbf081380ef5d34ccc8c4e146652e |
||
---|---|---|
.. | ||
dt-ve | ||
lib | ||
.eslintrc.json | ||
AbandonCommentDialog.js | ||
AbandonTopicDialog.js | ||
CommentController.js | ||
CommentItem.js | ||
controller.js | ||
dt.debug.js | ||
dt.init.js | ||
dt.init.less | ||
dt.ui.NewTopicController.less | ||
dt.ui.ReplyWidget.js | ||
dt.ui.ReplyWidget.less | ||
dt.ui.ReplyWidgetPlain.js | ||
dt.ui.ReplyWidgetVisual.js | ||
HeadingItem.js | ||
highlighter.js | ||
highlighter.less | ||
logger.js | ||
ModeTabOptionWidget.js | ||
ModeTabSelectWidget.js | ||
modifier.js | ||
NewTopicController.js | ||
Parser.js | ||
ThreadItem.js | ||
utils.js |