@bobfrankston/rmfmail 1.2.239 → 1.2.241

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/client/app.js CHANGED
@@ -2041,8 +2041,14 @@ document.addEventListener("mailx-flagged-batch", (e) => {
2041
2041
  const n = msgs.length;
2042
2042
  const label = n === 1 ? "message" : `${n} messages`;
2043
2043
  showContextMenu(x, y, [
2044
- { label: `Move ${label} here`, emphasized: true, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "move") },
2045
- { label: `Copy ${label} here`, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "copy") },
2044
+ // Name the destination, never say "here". A menu that appears
2045
+ // under the pointer still has to read correctly on its own: by the
2046
+ // time the user is reading the menu, the folder they were dragging
2047
+ // over may not be what they think it is, and "here" gives them
2048
+ // nothing to check against (Bob 2026-08-09: "using HERE in a
2049
+ // message is very very bad — give the folder name").
2050
+ { label: `Move ${label} to ${targetName}`, emphasized: true, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "move") },
2051
+ { label: `Copy ${label} to ${targetName}`, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "copy") },
2046
2052
  ]);
2047
2053
  }
2048
2054
  async function runRightDragOp(msgs, targetAccount, targetFolderId, targetName, op) {