@bobfrankston/rmfmail 1.2.72 → 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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/rmfmail",
3
- "version": "1.2.72",
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",