@bobfrankston/rmfmail 1.1.184 → 1.1.185

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
@@ -3507,7 +3507,10 @@ if (savedTwoLine) document.getElementById("message-list")?.classList.add("two-li
3507
3507
  if (!savedPreview) document.querySelector(".main-area")?.classList.add("no-preview");
3508
3508
  if (!savedSnippet) document.getElementById("message-list")?.classList.add("no-snippets");
3509
3509
  if (savedThreaded) document.getElementById("ml-body")?.classList.add("threaded");
3510
- if (savedFlagged) document.getElementById("ml-body")?.classList.add("flagged-only");
3510
+ if (savedFlagged) {
3511
+ document.getElementById("ml-body")?.classList.add("flagged-only");
3512
+ try { logClientEvent("boot-restore-flagged", { savedFlagged }); } catch { /* */ }
3513
+ }
3511
3514
  if (savedFolderCounts) document.getElementById("folder-tree")?.classList.add("show-folder-counts");
3512
3515
 
3513
3516
  // "Only this conversation" toggle — hides rows whose threadId differs from
@@ -4384,6 +4387,7 @@ function syncFilterFlaggedButton(): void {
4384
4387
  }
4385
4388
 
4386
4389
  function applyFlaggedFilter(on: boolean): void {
4390
+ try { logClientEvent("applyFlaggedFilter", { on, caller: new Error().stack?.split("\n").slice(2, 5).join(" | ") }); } catch { /* */ }
4387
4391
  if (optFlagged) optFlagged.checked = on;
4388
4392
  const body = document.getElementById("ml-body");
4389
4393
  if (on) body?.classList.add("flagged-only");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.1.184",
3
+ "version": "1.1.185",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",