@bobfrankston/rmfmail 1.2.327 → 1.2.329
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 +5 -8
- package/.llm/config-cache-crash.md +11 -0
- package/client/app.bundle.js +2 -12
- package/client/app.bundle.js.map +2 -2
- package/client/components/calendar-sidebar.js +8 -12
- package/client/components/calendar-sidebar.js.map +1 -1
- package/client/components/calendar-sidebar.ts +7 -5
- package/client/compose/compose.bundle.js +6 -3
- package/client/compose/compose.bundle.js.map +2 -2
- package/client/compose/compose.js +13 -13
- package/client/compose/compose.js.map +1 -1
- package/client/compose/compose.ts +12 -13
- package/npmchanges.md +27 -0
- package/package.json +1 -1
- package/packages/mailx-service/index.d.ts.map +1 -1
- package/packages/mailx-service/index.js +66 -12
- package/packages/mailx-service/index.js.map +1 -1
- package/packages/mailx-service/index.ts +63 -10
- package/packages/mailx-service/package.json +1 -1
- package/packages/mailx-service/word-html.d.ts +18 -0
- package/packages/mailx-service/word-html.d.ts.map +1 -0
- package/packages/mailx-service/word-html.js +78 -0
- package/packages/mailx-service/word-html.js.map +1 -0
- package/packages/mailx-service/word-html.ts +78 -0
package/.commitmsg
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
Compose: no separator above the signature
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
(hr.mailx-sig-rule, legacy hr[style*=3cm]) or div.reply; the head goes to
|
|
8
|
-
Word, the tail is taken from the editor at apply time and appended unchanged.
|
|
9
|
-
Signature rule now carries class="mailx-sig-rule".
|
|
3
|
+
The thin 3 cm rule (which replaced the "-- " delimiter on 2026-09-10) is gone;
|
|
4
|
+
if a separator is wanted it belongs in the user's own signature HTML. The
|
|
5
|
+
signature is now wrapped in <div class="mailx-sig"> purely as the marker the
|
|
6
|
+
Edit-in-Word split uses; the old hr markers are still recognised in drafts.
|
|
@@ -44,3 +44,14 @@ Session: Claude Fable 5.1, started 2026-09-13 ~17:00 EDT.
|
|
|
44
44
|
`docxToHtml()` core with inline styles before rmfmail can import it. Not touched — separate project.
|
|
45
45
|
- Checked: bundled TinyMCE 8.8.2 has NO Word-HTML cleaner (that is PowerPaste, paid); only the
|
|
46
46
|
generic paste path and `mceInsertClipboardContent`.
|
|
47
|
+
|
|
48
|
+
## ~20:20 ExportFragment route BUILT (mailx-service 0.1.40, unpublished yet)
|
|
49
|
+
- word-html.ts (new): wordHtmlToFragment(htm) — body only, Mso classes/comments/o: tags stripped, images inlined.
|
|
50
|
+
- index.ts: sidecar exports `${base}-word.htm` via Range.ExportFragment(…,10) BEFORE each autosave and
|
|
51
|
+
mirrors manual Ctrl+S on the next tick; watcher has per-file debounce, ignores .docx once -word.htm
|
|
52
|
+
exists, converts -word.htm; sweep protects -word.htm/-word_files. Head/tail split (v1.2.327) unchanged.
|
|
53
|
+
- Calendar default = primary always (calendar-sidebar.ts, sticky localStorage choice removed). Publishing as 1.2.328 (rebuild4.log).
|
|
54
|
+
localStorage pref else "primary").
|
|
55
|
+
|
|
56
|
+
## 2026-09-14 ~13:40: separator above the signature removed (v1.2.329, publishing — rebuild5.log)
|
|
57
|
+
- No hr above the sig; sig wrapped in `<div class="mailx-sig">` as the Word-split marker; legacy hr forms still matched.
|
package/client/app.bundle.js
CHANGED
|
@@ -7233,16 +7233,11 @@ function openNewEventDialog() {
|
|
|
7233
7233
|
const fillCalendars = (list) => {
|
|
7234
7234
|
const writable = writableCalendars(list);
|
|
7235
7235
|
calSelect.innerHTML = "";
|
|
7236
|
-
let last = "";
|
|
7237
|
-
try {
|
|
7238
|
-
last = localStorage.getItem(LAST_CALENDAR_PREF) || "";
|
|
7239
|
-
} catch {
|
|
7240
|
-
}
|
|
7241
7236
|
for (const c of writable) {
|
|
7242
7237
|
const opt = document.createElement("option");
|
|
7243
7238
|
opt.value = c.id;
|
|
7244
7239
|
opt.textContent = c.primary ? `${c.name} (personal)` : c.name;
|
|
7245
|
-
if (c.
|
|
7240
|
+
if (c.primary)
|
|
7246
7241
|
opt.selected = true;
|
|
7247
7242
|
calSelect.append(opt);
|
|
7248
7243
|
}
|
|
@@ -7328,10 +7323,6 @@ function openNewEventDialog() {
|
|
|
7328
7323
|
const saved = [];
|
|
7329
7324
|
const calendarId = calSelect.value || "primary";
|
|
7330
7325
|
const calendarName = calSelect.selectedOptions[0]?.textContent || "";
|
|
7331
|
-
try {
|
|
7332
|
-
localStorage.setItem(LAST_CALENDAR_PREF, calendarId);
|
|
7333
|
-
} catch {
|
|
7334
|
-
}
|
|
7335
7326
|
for (const ev of targets) {
|
|
7336
7327
|
const row = { ...eventToLocalRow(ev, text), calendarId };
|
|
7337
7328
|
try {
|
|
@@ -7593,7 +7584,7 @@ function initCalendarSidebar() {
|
|
|
7593
7584
|
}
|
|
7594
7585
|
}
|
|
7595
7586
|
}
|
|
7596
|
-
var SIDEBAR_PREF, SHOW_RECURRING_PREF, SHOW_DONE_PREF, HORIZON_DAYS_PREF, HORIZON_DEFAULT_DAYS, HOLIDAY_HORIZON_MS, viewYear, viewMonth, viewDay, viewPinned, lastEvents, lastOverdueTasks,
|
|
7587
|
+
var SIDEBAR_PREF, SHOW_RECURRING_PREF, SHOW_DONE_PREF, HORIZON_DAYS_PREF, HORIZON_DEFAULT_DAYS, HOLIDAY_HORIZON_MS, viewYear, viewMonth, viewDay, viewPinned, lastEvents, lastOverdueTasks, calById, calendarList, hiddenCalendars, selectedTaskUuids, TASK_DELETE_NOTE;
|
|
7597
7588
|
var init_calendar_sidebar = __esm({
|
|
7598
7589
|
"client/components/calendar-sidebar.js"() {
|
|
7599
7590
|
"use strict";
|
|
@@ -7611,7 +7602,6 @@ var init_calendar_sidebar = __esm({
|
|
|
7611
7602
|
viewPinned = false;
|
|
7612
7603
|
lastEvents = [];
|
|
7613
7604
|
lastOverdueTasks = [];
|
|
7614
|
-
LAST_CALENDAR_PREF = "mailx.calendar.lastCreateCalendar";
|
|
7615
7605
|
calById = /* @__PURE__ */ new Map();
|
|
7616
7606
|
calendarList = [];
|
|
7617
7607
|
hiddenCalendars = /* @__PURE__ */ new Set();
|