@bobfrankston/rmfmail 1.0.512 → 1.0.515
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/bin/lean-accounts.js +2 -2
- package/client/app.js +10 -12
- package/client/app.js.map +1 -1
- package/client/app.ts +10 -12
- package/client/components/message-list.js +10 -4
- package/client/components/message-list.js.map +1 -1
- package/client/components/message-list.ts +9 -3
- package/package.json +3 -3
- package/packages/mailx-imap/index.d.ts.map +1 -1
- package/packages/mailx-imap/index.js +26 -4
- package/packages/mailx-imap/index.js.map +1 -1
- package/packages/mailx-imap/index.ts +25 -4
- package/packages/mailx-imap/package-lock.json +2 -2
- package/packages/mailx-imap/package.json +1 -1
- package/packages/mailx-service/index.d.ts.map +1 -1
- package/packages/mailx-service/index.js +10 -0
- package/packages/mailx-service/index.js.map +1 -1
- package/packages/mailx-service/index.ts +11 -2
- package/packages/mailx-service/jsonrpc.ts +2 -4
- package/packages/mailx-settings/copy-docs.js +1 -2
- package/packages/mailx-settings/index.d.ts.map +1 -1
- package/packages/mailx-settings/index.js +1 -2
- package/packages/mailx-settings/index.js.map +1 -1
- package/packages/mailx-settings/index.ts +1 -2
- package/packages/mailx-settings/package.json +4 -1
- package/packages/mailx-store/package.json +4 -1
- package/packages/mailx-types/build-rules.js +1 -2
- package/packages/mailx-types/package.json +4 -1
package/bin/lean-accounts.js
CHANGED
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
|
|
27
27
|
import fs from "node:fs";
|
|
28
28
|
import path from "node:path";
|
|
29
|
-
import {
|
|
29
|
+
import { pathToFileURL } from "node:url";
|
|
30
30
|
|
|
31
|
-
const __dirname =
|
|
31
|
+
const __dirname = import.meta.dirname;
|
|
32
32
|
|
|
33
33
|
// ── Provider defaults: same set mailx-settings uses ────────────────────────
|
|
34
34
|
const PROVIDERS = {
|
package/client/app.js
CHANGED
|
@@ -1905,18 +1905,16 @@ onWsEvent((event) => {
|
|
|
1905
1905
|
refreshFolderTree();
|
|
1906
1906
|
// Q53: track per-account last-sync timestamp for the status-bar hover.
|
|
1907
1907
|
recordAccountSync(event.accountId);
|
|
1908
|
-
//
|
|
1909
|
-
//
|
|
1910
|
-
//
|
|
1911
|
-
//
|
|
1912
|
-
//
|
|
1913
|
-
//
|
|
1914
|
-
// message
|
|
1915
|
-
//
|
|
1916
|
-
//
|
|
1917
|
-
// (
|
|
1918
|
-
// up to the DB.
|
|
1919
|
-
reloadCurrentFolder();
|
|
1908
|
+
// Earlier I added reloadCurrentFolder() here to fix the
|
|
1909
|
+
// "phone INBOX stays on placeholder" report. That broke desktop
|
|
1910
|
+
// because syncComplete fires repeatedly on the desktop sync
|
|
1911
|
+
// loop, and each reload rebuilds the message-list DOM
|
|
1912
|
+
// mid-read — the focusedRow Row object becomes a stale
|
|
1913
|
+
// pointer to a detached element, and the viewer's "Select a
|
|
1914
|
+
// message to read" placeholder stays up while the new row
|
|
1915
|
+
// shows .selected. Removed: folderCountsChanged already
|
|
1916
|
+
// triggers a debounced reload when new messages actually
|
|
1917
|
+
// arrive (which is what the phone case really needs anyway).
|
|
1920
1918
|
break;
|
|
1921
1919
|
case "folderSynced":
|
|
1922
1920
|
// Per-folder timestamps — drives the tooltip + freshness dot.
|