@bobfrankston/rmfmail 1.2.68 → 1.2.70
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/bin/build-bundles.mjs +42 -0
- package/client/app.bundle.js +9 -3
- package/client/app.bundle.js.map +2 -2
- package/client/app.js +7 -2
- package/client/app.js.map +1 -1
- package/client/app.ts +7 -2
- package/client/components/tabs.js +12 -1
- package/client/components/tabs.js.map +1 -1
- package/client/components/tabs.ts +11 -1
- package/client/compose/compose.html +1 -1
- package/client/index.html +2 -2
- package/package.json +1 -1
package/client/app.js
CHANGED
|
@@ -5957,13 +5957,18 @@ function saveBootSnapshot() {
|
|
|
5957
5957
|
// (e.g. user clicked a folder, list is empty for a tick) would
|
|
5958
5958
|
// otherwise clobber the previous good snapshot.
|
|
5959
5959
|
const ftHtml = folderTree?.innerHTML?.trim() || "";
|
|
5960
|
-
|
|
5960
|
+
// Search is ephemeral: never snapshot the list while a search is
|
|
5961
|
+
// showing, or a cold start would repaint stale search results before
|
|
5962
|
+
// the real folder/inbox loads (Bob 2026-06-26). Empty string = the
|
|
5963
|
+
// loader skips this region and the normal boot load fills it.
|
|
5964
|
+
const searching = (searchInput?.value.trim() || "") !== "";
|
|
5965
|
+
const mlHtml = searching ? "" : (messageList?.innerHTML?.trim() || "");
|
|
5961
5966
|
if (!ftHtml && !mlHtml)
|
|
5962
5967
|
return;
|
|
5963
5968
|
const snap = {
|
|
5964
5969
|
folderTree: ftHtml,
|
|
5965
5970
|
messageList: mlHtml,
|
|
5966
|
-
folderTitle: folderTitle?.innerHTML?.trim() || "",
|
|
5971
|
+
folderTitle: searching ? "" : (folderTitle?.innerHTML?.trim() || ""),
|
|
5967
5972
|
savedAt: Date.now(),
|
|
5968
5973
|
};
|
|
5969
5974
|
localStorage.setItem("mailx-boot-snapshot", JSON.stringify(snap));
|