Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

hotkey: Reorder "Edit selected message or view source" in ? and /help.

Sayam Samalece115c22d06
diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.md
index 73439686e59..bda700b57ae 100644
--- a/help/keyboard-shortcuts.md
+++ b/help/keyboard-shortcuts.md
@@ -146,6 +146,8 @@ in the Zulip app to add more to your repertoire as needed.
### For a selected message (outlined in blue)
+* **Edit message or view message source**: <kbd>E</kbd>
+
* **Show message sender's user card**: <kbd>U</kbd>
* **View read receipts**: <kbd>Shift</kbd> + <kbd>V</kbd> — Same shortcut
@@ -153,8 +155,6 @@ in the Zulip app to add more to your repertoire as needed.
* **View image**: <kbd>V</kbd>
-* **Edit message or view message source**: <kbd>E</kbd>
-
* **Move message and (optionally) other messages in the same topic**: <kbd>M</kbd>
* **View message edit and move history**: <kbd>Shift</kbd> +
diff --git a/web/templates/keyboard_shortcuts.hbs b/web/templates/keyboard_shortcuts.hbs
index 403a4f4c304..5e2ed2fb624 100644
--- a/web/templates/keyboard_shortcuts.hbs
+++ b/web/templates/keyboard_shortcuts.hbs
@@ -220,6 +220,10 @@
<td class="definition">{{t 'Edit your last message' }}</td>
<td><span class="hotkey"><kbd class="arrow-key">←</kbd></span></td>
</tr>
+ <tr id="edit-message-hotkey-help">
+ <td class="definition">{{t 'Edit selected message or view source' }}</td>
+ <td><span class="hotkey"><kbd>E</kbd></span></td>
+ </tr>
<tr>
<td class="definition">{{t "Show message sender's user card" }}</td>
<td><span class="hotkey"><kbd>U</kbd></span></td>
@@ -232,10 +236,6 @@
<td class="definition">{{t 'Show images in thread' }}</td>
<td><span class="hotkey"><kbd>V</kbd></span></td>
</tr>
- <tr id="edit-message-hotkey-help">
- <td class="definition">{{t 'Edit selected message or view source' }}</td>
- <td><span class="hotkey"><kbd>E</kbd></span></td>
- </tr>
<tr id="move-message-hotkey-help">
<td class="definition">{{t 'Move messages or topic' }}</td>
<td><span class="hotkey"><kbd>M</kbd></span></td>