zulip/frontend_tests/zjsunit
sayamsamal 0f213f13ff tooltips: Add support for modifier key conversion for mac-syle keyboards.
We scan a tooltip for any required windows-to-mac hotkey conversions
from the list of attributes supplied to the hotkey_hints helper.

If we find any, we add/modify the hotkyes in the hotkey hints list to
match the mac-style key combinations and then return back the modified
list of hotkey hints to be displayed in the tooltip.

We also rename the "adjust_mac_shortcuts" function, used for the
keyboard shortcuts menu and help center documnets, to
"adjust_mac_kbd_tags" to avoid any ambiguity with the
adjust_mac_tooltip_keys funtion which is used for tooltip hotkeys.
2023-02-06 18:41:31 -08:00
..
handlebars.js frontend_tests: Fix unicorn/text-encoding-identifier-case. 2022-03-01 23:09:46 -08:00
i18n.js js: Fix type issue with FormatJS rich text elements. 2022-11-03 14:48:40 -07:00
index.js tooltips: Add support for modifier key conversion for mac-syle keyboards. 2023-02-06 18:41:31 -08:00
markdown_assert.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
mdiff.js js: Simplify indexing arrays from the end with Array#at. 2022-01-24 09:58:54 -08:00
namespace.js zjsunit: Support asynchronous overrides. 2022-08-18 16:21:04 -07:00
real_jquery.js js: Use jQuery as a module. 2021-03-12 10:08:25 -08:00
stub.js zjsunit: Remove with_stub helper. 2021-02-13 06:48:59 -05:00
test.js zjsunit: Support asynchronous tests. 2022-08-18 08:55:31 -07:00
zblueslip.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
zjquery.js eslint: Enable object-shorthand avoidExplicitReturnArrows option. 2022-11-17 16:48:44 -08:00
zjquery_element.js compose: Migrate upload banner to new banner styling. 2023-02-04 19:50:52 -08:00
zjquery_event.js node_tests: Enforce 100% coverage for test files. 2022-04-10 19:31:56 -04:00
zpage_params.js js: Shorten Object.prototype.hasOwnProperty.call to Object.hasOwn. 2022-01-24 09:57:09 -08:00