@bobfrankston/rmfmail 1.2.240 → 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.ts CHANGED
@@ -1994,8 +1994,14 @@ document.addEventListener("mailx-flagged-batch", (e: any) => {
1994
1994
  const n = msgs.length;
1995
1995
  const label = n === 1 ? "message" : `${n} messages`;
1996
1996
  showContextMenu(x, y, [
1997
- { label: `Move ${label} here`, emphasized: true, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "move") },
1998
- { label: `Copy ${label} here`, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "copy") },
1997
+ // Name the destination, never say "here". A menu that appears
1998
+ // under the pointer still has to read correctly on its own: by the
1999
+ // time the user is reading the menu, the folder they were dragging
2000
+ // over may not be what they think it is, and "here" gives them
2001
+ // nothing to check against (Bob 2026-08-09: "using HERE in a
2002
+ // message is very very bad — give the folder name").
2003
+ { label: `Move ${label} to ${targetName}`, emphasized: true, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "move") },
2004
+ { label: `Copy ${label} to ${targetName}`, action: () => void runRightDragOp(msgs, targetAccount, targetFolderId, targetName, "copy") },
1999
2005
  ]);
2000
2006
  }
2001
2007
 
@@ -507,6 +507,17 @@
507
507
  moveMessages: function(accountId, uids, targetFolderId, folderIds) {
508
508
  return callNode("moveMessages", { accountId: accountId, uids: uids, targetFolderId: targetFolderId, folderIds: folderIds });
509
509
  },
510
+ // autocomplete takes the whole request object — the daemon handler
511
+ // reads it as `p` directly (jsonrpc: svc.autocomplete(p)).
512
+ autocomplete: function(body) {
513
+ return callNode("autocomplete", body || {});
514
+ },
515
+ cancelServerSearch: function() {
516
+ return callNode("cancelServerSearch", {});
517
+ },
518
+ copyMessages: function(accountId, uids, folderIds, targetFolderId) {
519
+ return callNode("copyMessages", { accountId: accountId, uids: uids, folderIds: folderIds, targetFolderId: targetFolderId });
520
+ },
510
521
  markAsSpamMessages: function(accountId, uids, folderIds) {
511
522
  return callNode("markAsSpamMessages", { accountId: accountId, uids: uids, folderIds: folderIds });
512
523
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.2.240",
3
+ "version": "1.2.241",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -34,7 +34,7 @@
34
34
  "dependencies": {
35
35
  "@bobfrankston/iflow-direct": "^0.1.65",
36
36
  "@bobfrankston/mailx-host": "^0.1.15",
37
- "@bobfrankston/mailx-imap": "^0.1.147",
37
+ "@bobfrankston/mailx-imap": "^0.1.148",
38
38
  "@bobfrankston/mailx-store-web": "^0.1.76",
39
39
  "@bobfrankston/mailx-sync": "^0.1.29",
40
40
  "@bobfrankston/miscinfo": "^1.0.16",
@@ -114,7 +114,7 @@
114
114
  "dependencies": {
115
115
  "@bobfrankston/iflow-direct": "^0.1.65",
116
116
  "@bobfrankston/mailx-host": "^0.1.15",
117
- "@bobfrankston/mailx-imap": "^0.1.147",
117
+ "@bobfrankston/mailx-imap": "^0.1.148",
118
118
  "@bobfrankston/mailx-store-web": "^0.1.76",
119
119
  "@bobfrankston/mailx-sync": "^0.1.29",
120
120
  "@bobfrankston/miscinfo": "^1.0.16",