discourse/app/assets/javascripts
Penar Musaraj 32e1eda3fa
A11Y: Update bulk selection keyboard shortcuts (#26069)
* A11Y: Update bulk selection keyboard shortcuts

Still a draft, but in current state this:

- adds `shift+b` as a keyboard shortcut to toggle bulk select
- adds `shift+d` as a keyboard shortcut to dismiss selected topic(s) (this
replaces `x r` and `x t` shortcuts)
- adds `x` as a keyboard shortcut to toggle selection (while in bulk select mode)
- fixes a bug with the `shift+a` shortcut, which was not working properly

Note that there is a breaking change here. Previously we had:

- `x r` to dismiss new topics
- `x t` to dismiss unread topics

However, this meant that we couldn't use `x` for selection, because the
itsatrap library does not allow the same character to be used both as a
single character shortcut and as the start of a sequence. The proposed
solution here is more consistent with other apps (Gmail, Github) that use
`x` to toggle selection.

Also, we never show both "Dismiss New" and "Dismiss Unread" in the same
screen, hence it makes sense to consolidate both actions under `shift+d`.

* Address review
2024-03-08 09:54:10 -05:00
..
admin Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
bootstrap-json Build(deps-dev): Bump html-entities from 2.4.0 to 2.5.2 (#26021) 2024-03-05 22:56:43 +01:00
deprecation-silencer DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
dialog-holder DEV: Use the "new" service import (#26059) 2024-03-06 18:05:11 +01:00
discourse A11Y: Update bulk selection keyboard shortcuts (#26069) 2024-03-08 09:54:10 -05:00
discourse-common Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
discourse-hbr Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
discourse-i18n DEV: Update ember-cli to 5.6.0 (#25886) 2024-02-27 10:48:30 +01:00
discourse-markdown-it FEATURE: Allow rowspan and colspan attributes on HTML tables (#20973) 2024-02-28 16:59:36 +11:00
discourse-plugins Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
discourse-widget-hbs Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Add production-mode shim for Em deprecation (#25109) 2024-01-03 10:39:59 +00:00
float-kit Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
locales DEV: convert I18n pseudo package into real package (discourse-i18n) (#23867) 2023-10-12 14:44:01 +01:00
pretty-text Build(deps-dev): Bump ember-cli from 5.6.0 to 5.7.0 (#26039) 2024-03-06 21:05:09 +01:00
select-kit FEATURE: Improve "+ subcategories" option (#26086) 2024-03-07 20:46:45 +02:00
theme-transpiler Build(deps): Bump terser from 5.28.1 to 5.29.1 (#26067) 2024-03-07 01:05:32 +01:00
truth-helpers DEV: Convert truth-helpers to a v2 addon and simplify imports (#26029) 2024-03-05 15:24:47 +00:00
.npmrc
handlebars-shim.js
polyfills.js
run-patch-package
service-worker.js.erb FIX: Service worker push notifications when cache disabled (#25610) 2024-02-08 11:55:32 +00:00