@bobfrankston/rmfmail 1.2.71 → 1.2.73

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
@@ -4023,7 +4023,13 @@ const savedPreview = localStorage.getItem("mailx-preview") !== "false"; // defau
4023
4023
  const savedSnippet = localStorage.getItem("mailx-snippet") !== "false"; // default true
4024
4024
  const savedFlagStars = localStorage.getItem("mailx-flag-stars") !== "false"; // default true (show)
4025
4025
  const savedThreaded = localStorage.getItem("mailx-threaded") === "true";
4026
- const savedFlagged = localStorage.getItem("mailx-flagged") === "true";
4026
+ // Flagged-only ("★ only") is EPHEMERAL — it must NOT persist across restarts.
4027
+ // Restoring it on boot left the user stuck every launch in a gold-washed,
4028
+ // all-starred list with no obvious way out, and the ★ toggle felt like a no-op
4029
+ // because the state kept coming back (Bob 2026-06-27). Always start OFF and
4030
+ // clear any stale stored value; the in-session toggle still works normally.
4031
+ const savedFlagged = false;
4032
+ try { localStorage.removeItem("mailx-flagged"); } catch { /* private mode */ }
4027
4033
  const savedFolderCounts = localStorage.getItem("mailx-folder-counts") === "true";
4028
4034
  if (optTwoLine) optTwoLine.checked = savedTwoLine;
4029
4035
  if (optPreview) optPreview.checked = savedPreview;
@@ -4037,10 +4043,7 @@ if (!savedPreview) document.querySelector(".main-area")?.classList.add("no-previ
4037
4043
  if (!savedSnippet) document.getElementById("message-list")?.classList.add("no-snippets");
4038
4044
  if (!savedFlagStars) document.getElementById("message-list")?.classList.add("no-empty-stars");
4039
4045
  if (savedThreaded) document.getElementById("ml-body")?.classList.add("threaded");
4040
- if (savedFlagged) {
4041
- document.getElementById("ml-body")?.classList.add("flagged-only");
4042
- try { logClientEvent("boot-restore-flagged", { savedFlagged }); } catch { /* */ }
4043
- }
4046
+ // (flagged-only intentionally NOT restored — ephemeral, see savedFlagged above)
4044
4047
  if (savedFolderCounts) document.getElementById("folder-tree")?.classList.add("show-folder-counts");
4045
4048
 
4046
4049
  // "Only this conversation" toggle — hides rows whose threadId differs from
@@ -557,7 +557,7 @@
557
557
  Replaces a multi-file ES module cascade through msger's custom
558
558
  protocol IPC that was visibly slow on compose-open. Source remains
559
559
  compose.ts; the .js is for fallback / debugging only. -->
560
- <script type="module" src="compose.bundle.js?v=4c3aed9911"></script>
560
+ <script type="module" src="compose.bundle.js"></script>
561
561
  </head>
562
562
  <body>
563
563
  <div class="compose-header">
package/client/index.html CHANGED
@@ -677,7 +677,7 @@
677
677
  // dynamically imported module" bootstrap failure). The bundle inlines
678
678
  // every transitive dep, so no further import-map resolution is needed
679
679
  // after this fetch.
680
- const m = await import("./android-bootstrap.bundle.js?v=7e151728fb");
680
+ const m = await import("./android-bootstrap.bundle.js");
681
681
  window.__btick && window.__btick("android-bootstrap module loaded");
682
682
  await m.initAndroid();
683
683
  window.__btick && window.__btick("initAndroid done");
@@ -692,7 +692,7 @@
692
692
  // bundle is regenerated by `npm run build` via
693
693
  // bin/build-bundles.mjs; dynamic `await import()` of optional
694
694
  // adapters (rmf-tiny, android-bootstrap) stays external.
695
- await import("./app.bundle.js?v=a6788de99f");
695
+ await import("./app.bundle.js");
696
696
  window.__btick && window.__btick("app.bundle.js loaded");
697
697
  } catch (e) {
698
698
  const msg = "BOOTSTRAP FAILED: " + (e.message || e) + "\n" + (e.stack || "");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.2.71",
3
+ "version": "1.2.73",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",