mediawiki-extensions-Discus.../modules
Bartosz Dziewoński 58c078437d Improve mode selector keyboard interactions
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
2021-03-18 15:15:40 +01:00
..
dt-ve Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
lib Handle timestamps in daylight saving time 2019-10-22 16:33:21 +02:00
.eslintrc.json eslint: Disable max-len 2020-04-21 15:50:19 +01:00
AbandonCommentDialog.js Separate dialog for abandoning a new topic 2021-01-19 21:40:21 +01:00
AbandonTopicDialog.js Separate dialog for abandoning a new topic 2021-01-19 21:40:21 +01:00
CommentController.js Ensure ReplyWidgetVisual#getMode always returns a mode 2021-03-18 15:15:40 +01:00
CommentItem.js Move warnings stuff from CommentItem to ThreadItem 2020-11-02 20:07:23 +00:00
controller.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
dt.debug.js Remove a fixed TODO comment 2020-12-14 22:16:16 +01:00
dt.init.js Enable DT server side via a cookie to preserve user enable hack 2020-10-19 21:42:58 +01:00
dt.init.less Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
dt.ui.NewTopicController.less Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
dt.ui.ReplyWidget.js Improve mode selector keyboard interactions 2021-03-18 15:15:40 +01:00
dt.ui.ReplyWidget.less Improve mode selector keyboard interactions 2021-03-18 15:15:40 +01:00
dt.ui.ReplyWidgetPlain.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
dt.ui.ReplyWidgetVisual.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
HeadingItem.js Ability to add new discussion sections 2021-01-12 20:15:28 +00:00
highlighter.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
highlighter.less Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
logger.js Tracking changes from VE source mode 2021-03-08 21:13:10 +00:00
ModeTabOptionWidget.js Improve mode selector keyboard interactions 2021-03-18 15:15:40 +01:00
ModeTabSelectWidget.js Improve mode selector keyboard interactions 2021-03-18 15:15:40 +01:00
modifier.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
NewTopicController.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00
Parser.js Don't detect comments within 'cite' elements too 2021-03-01 21:40:43 +01:00
ThreadItem.js ThreadItem.js: Fix documentation comment 2020-12-12 12:58:16 +00:00
utils.js Change dt- class prefix to ext-discussiontools- 2021-03-13 14:42:39 +00:00