@bobfrankston/rmfmail 1.1.97 → 1.1.99
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/.commitmsg +14 -13
- package/client/app.bundle.js +2 -0
- package/client/app.bundle.js.map +2 -2
- package/client/components/message-list.js +8 -0
- package/client/components/message-list.js.map +1 -1
- package/client/components/message-list.ts +7 -0
- package/client/compose/compose.bundle.js +11 -7
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/compose.js +21 -13
- package/client/compose/compose.js.map +1 -1
- package/client/compose/compose.ts +20 -12
- package/npmchanges.md +28 -0
- package/package.json +3 -3
- package/packages/mailx-service/sync-queue.d.ts +8 -0
- package/packages/mailx-service/sync-queue.d.ts.map +1 -1
- package/packages/mailx-service/sync-queue.js +40 -4
- package/packages/mailx-service/sync-queue.js.map +1 -1
- package/packages/mailx-service/sync-queue.ts +39 -4
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-26080 → node_modules.npmglobalize-stash-75440}/.package-lock.json +0 -0
package/.commitmsg
CHANGED
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
Fix duplicate drafts (unserialized autosave) + shift-click range select
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
Duplicate drafts: enqueueDraftPush fired imapManager.saveDraft immediately
|
|
4
|
+
on every autosave (~every 2 s). An IMAP search-delete-append cycle takes
|
|
5
|
+
longer than that, so pushes overlapped — each one's "find the stale copy"
|
|
6
|
+
ran before a sibling's "append", neither saw the other's new copy, and
|
|
7
|
+
the Drafts folder filled with dozens of duplicates. enqueueDraftPush now
|
|
8
|
+
serializes per draftId: one push in flight at a time, and while it runs
|
|
9
|
+
only the latest queued content is kept (intermediate autosaves are
|
|
10
|
+
superseded — fewer IMAP ops too).
|
|
7
11
|
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
- docs/rmf-tiny.md: marked implemented; added a running "Known TinyMCE
|
|
15
|
-
quirks" log (caret/scroll, link-extend, spellcheck, <p>-to-<br>).
|
|
12
|
+
Shift-click range select: selectRange now sets `multi-select-on` for a
|
|
13
|
+
multi-row range. Without it, the focusRow() call right after (drives the
|
|
14
|
+
viewer off the clicked row) ran its single-select sweep and wiped every
|
|
15
|
+
row in the range except the clicked one — a regression from the v1.1.88
|
|
16
|
+
highlight-desync fix.
|
package/client/app.bundle.js
CHANGED
|
@@ -2633,6 +2633,8 @@ function selectRange(from, to) {
|
|
|
2633
2633
|
return;
|
|
2634
2634
|
const lo = Math.min(fromIdx, toIdx);
|
|
2635
2635
|
const hi = Math.max(fromIdx, toIdx);
|
|
2636
|
+
if (hi > lo)
|
|
2637
|
+
body.classList.add("multi-select-on");
|
|
2636
2638
|
for (let i = lo; i <= hi; i++)
|
|
2637
2639
|
rows[i].classList.add("selected");
|
|
2638
2640
|
}
|