From bb6e7ab537b464c30d0f5e56e920fee86352a4e9 Mon Sep 17 00:00:00 2001 From: N-Shar-ma Date: Wed, 8 May 2024 02:16:10 +0530 Subject: [PATCH] compose: Add keyboard shortcuts to compose control buttons' tooltips. For more discoverability, the keyboard shortcuts for preview, and bold, italic and link formatting are now displayed in the tooltips of those compose buttons. --- web/templates/compose_control_buttons.hbs | 2 +- .../compose_control_buttons_in_popover_2.hbs | 6 +++--- web/templates/tooltip_templates.hbs | 16 ++++++++++++++++ 3 files changed, 20 insertions(+), 4 deletions(-) diff --git a/web/templates/compose_control_buttons.hbs b/web/templates/compose_control_buttons.hbs index 52557e609f..a67fafcb8b 100644 --- a/web/templates/compose_control_buttons.hbs +++ b/web/templates/compose_control_buttons.hbs @@ -1,6 +1,6 @@
-
+
diff --git a/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover_2.hbs b/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover_2.hbs index 107c1b281e..b3bbabf8f2 100644 --- a/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover_2.hbs +++ b/web/templates/popovers/compose_control_buttons/compose_control_buttons_in_popover_2.hbs @@ -1,7 +1,7 @@
- - - + + + {{#if inside_popover}}
|
diff --git a/web/templates/tooltip_templates.hbs b/web/templates/tooltip_templates.hbs index fb7e1e569c..f6826adb18 100644 --- a/web/templates/tooltip_templates.hbs +++ b/web/templates/tooltip_templates.hbs @@ -53,6 +53,10 @@ {{t 'Send' }} {{tooltip_hotkey_hints "Ctrl" "Enter"}} + + + +