@bobfrankston/rmfmail 1.2.229 → 1.2.231
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/TODO.md +27 -0
- package/client/app.bundle.js +349 -66
- package/client/app.bundle.js.map +4 -4
- package/client/app.js +16 -2
- package/client/app.js.map +1 -1
- package/client/app.ts +14 -1
- package/client/components/calendar-sidebar.js +1 -1
- package/client/components/calendar-sidebar.js.map +1 -1
- package/client/components/calendar-sidebar.ts +1 -1
- package/client/components/context-menu.js +12 -1
- package/client/components/context-menu.js.map +1 -1
- package/client/components/context-menu.ts +36 -1
- package/client/components/edit-menu.js +339 -0
- package/client/components/edit-menu.js.map +1 -0
- package/client/components/edit-menu.ts +343 -0
- package/client/components/folder-tree.js +2 -2
- package/client/components/folder-tree.js.map +1 -1
- package/client/components/folder-tree.ts +2 -2
- package/client/components/message-list.js +3 -1
- package/client/components/message-list.js.map +1 -1
- package/client/components/message-list.ts +3 -1
- package/client/compose/compose.bundle.js +254 -83
- package/client/compose/compose.bundle.js.map +4 -4
- package/client/compose/compose.js +5 -28
- package/client/compose/compose.js.map +1 -1
- package/client/compose/compose.ts +4 -13
- package/client/compose/edit-commands.js +10 -89
- package/client/compose/edit-commands.js.map +1 -1
- package/client/compose/edit-commands.ts +11 -77
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-146480 → node_modules.npmglobalize-stash-7472}/.package-lock.json +0 -0
package/TODO.md
CHANGED
|
@@ -661,6 +661,33 @@ Was part of S1 "local-first reconciliation refactor" until 2026-04-23 when S1's
|
|
|
661
661
|
|
|
662
662
|
<a id="priority-1"></a>
|
|
663
663
|
|
|
664
|
+
<a id="ext162"></a>
|
|
665
|
+
|
|
666
|
+
### C162 — Vetting sweep 2026-08-09: dead paths & duplicated mechanisms [↑ summary](#sum)
|
|
667
|
+
|
|
668
|
+
Requested 2026-08-08 22:34 ("spend the night vetting the code to look for dead path and duplicated mechanism"); the session crashed before it started. First pass below. Every row is a reachability result (grep for importers across `bin/`, `packages/`, `client/`, `android-maui/`, the HTML importmaps and the bundle config), not an impression.
|
|
669
|
+
|
|
670
|
+
**Dead — no path reaches it**
|
|
671
|
+
|
|
672
|
+
| What | Lines | Evidence | Call |
|
|
673
|
+
|---|---|---|---|
|
|
674
|
+
| `packages/mailx-core` | 665 | no importer anywhere; contains 2 of the 8 RFC822 assembly copies | delete |
|
|
675
|
+
| `packages/mailx-server` | 452 | `--server` mode removed v1.2.80; nothing imports it | delete |
|
|
676
|
+
| `packages/mailx-compose` | 111 | sole export `buildComposeInit` uncalled | delete |
|
|
677
|
+
| `packages/mailx-send` + its nested `mailsend/` copy | 1236 | the app never imports it — it publishes the `mailsend`/`mailq` CLI bins. The two copies differ by **8 lines, all comments** | keep only if the CLI is still wanted, and collapse to one copy |
|
|
678
|
+
| `client/components/calendar.ts` | 213 | superseded by `calendar-sidebar.ts` (951 lines, live); nothing imports it | delete |
|
|
679
|
+
| `client/components/tasks.ts` | 234 | ditto — tasks UI lives in calendar-sidebar + alarms | delete |
|
|
680
|
+
| `showSelectionMenu` in `message-list.ts` | ~55 | the toolbar **Selection** button and its handler were deleted 2026-06-26 (`e9c1efa9`); the menu was never re-anchored, so the whole bulk-actions menu is unreachable | re-anchor to the bulk bar **or** delete — this one is a lost feature, not just dead weight |
|
|
681
|
+
| uncalled exports | — | `destroyGhostText`, `local-service.handleCall`, `local-store.storeBody`, `spellcheck-core.MARKER_ATTR`, `mailx-settings`: `isCloudMode`/`getLastCloudError`/`getMicrosoftProfile`, `mailx-host.hostName`, `mailx-store-web`: `createWorkerHost`/`loadDeviceState`/`saveDeviceState`, `mailx-types`: `answeredOf`/`deletedOf`/`setAnswered`/`setDraft`/`toggleFlagged` | delete with their packages where applicable |
|
|
682
|
+
|
|
683
|
+
This is not tidiness. The RFC 2047 header fix on 2026-08-08 was hand-applied to **7 sites — 4 of them in the dead packages above**, which is real fix-time spent on code that cannot run.
|
|
684
|
+
|
|
685
|
+
**Duplicated mechanism**
|
|
686
|
+
|
|
687
|
+
- **RFC822/MIME assembly — the expensive one.** Eight sites build a message by hand (`mailx-service` ×2 live, `mailx-store-web` ×2 live, `mailx-core` ×2 dead, `mailx-send` ×2 dead). The two LIVE pairs — desktop and Android/web — are **72% identical line-for-line**. Every send-path fix since May has had to be applied 2–4×: quoted-header envelope scrape (v1.2.166, "SAME shape in 3 files"), inline images data:→cid (v1.2.179, "BOTH send paths"), RFC 2047 encoded-words (v1.2.226, 7 sites). Fix: one `buildMimeMessage()` in `mailx-types`, which already hosts `encodeHeaderWord`, `encodeQuotedPrintable`, `extractInlineImages` and `htmlToPlainText` — the parts each copy already shares. [M]
|
|
688
|
+
- ~~**Context menus** — three clipboard implementations (rich editor, compose recipient field, nothing at all elsewhere)~~ — **FIXED v1.2.230**, see DONE.md.
|
|
689
|
+
- **`escapeHtml`** — 15 separate definitions across client + packages. [S]
|
|
690
|
+
|
|
664
691
|
## Priority 1 — Get basics working [↑ top](#top)
|
|
665
692
|
|
|
666
693
|
### External content security
|