keyboard-shortcuts: Document browse back and forward in history.

Documents in help center `/keyboard-shortcuts` and in the app `?`
menu the shortcuts used by browsers for navigating back and forward
through the open tab's history, which are made to work in Zulip.

Also, updates `adjust_mac_shortcuts` to update the shortcut keys
for users with Mac user agents.

Fixes #18542.
This commit is contained in:
Lauryn Menard
2022-07-13 12:28:12 +02:00
committed by Tim Abbott
parent 5bcf78e0cb
commit f03eed5231
4 changed files with 15 additions and 0 deletions

View File

@@ -100,6 +100,7 @@ run_test("adjust_mac_shortcuts mac non-defaults", ({override}) => {
["PgUp", "↑"],
["PgDn", "↓"],
["Ctrl", "⌘"],
["Alt", "⌘"],
["X + Shift", "X + Shift"],
["⌘ + Return", "⌘ + Return"],
["Enter or Backspace", "Enter or Backspace"],
@@ -157,6 +158,7 @@ run_test("adjust_mac_shortcuts mac defaults", ({override}) => {
["PgUp", "↑"],
["PgDn", "↓"],
["Ctrl", "⌘"],
["Alt", "⌘"],
["[", "["],
["X", "X"],
]);