@bobfrankston/rmfmail 1.1.92 → 1.1.94

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/.commitmsg CHANGED
@@ -1,13 +1,8 @@
1
- Fix: viewer showed wrong body (header/body mismatch on search results)
1
+ Tabs: keep the strip visible with one tab so "+" is discoverable
2
2
 
3
- The viewer's same-message guard keyed on (uid, folderId). uid is only
4
- unique within a folder, so a cross-folder search could surface two
5
- different messages with the same uid; when the result's folderId was
6
- omitted the guard mis-fired it refreshed the header to the clicked
7
- message but kept the previously-shown message's body in the iframe. The
8
- viewer looked "scrambled": header said one message, body showed another.
9
-
10
- The guard now keys on the stable `uuid` whenever both sides have one,
11
- falling back to (uid, folderId) only for uuid-less envelopes (thread
12
- popup). The local store/.eml files were never corrupt — this was purely
13
- a viewer identity-check bug.
3
+ The view-tab strip was hidden until a 2nd tab existed — but with it
4
+ hidden there was no hint that tabs exist or that Ctrl+T creates one
5
+ (Bob: "there needs to be some indicator that ^t creates a tab"). The
6
+ strip now stays visible with a single tab, showing that tab plus the
7
+ "+" button; its tooltip names the Ctrl+T shortcut. Hidden only before
8
+ the very first tab is seeded.
@@ -5378,10 +5378,10 @@ function render() {
5378
5378
  const plus = document.createElement("button");
5379
5379
  plus.className = "view-tab-new";
5380
5380
  plus.textContent = "+";
5381
- plus.title = "New tab (All Inboxes)";
5381
+ plus.title = "New tab (Ctrl+T)";
5382
5382
  plus.addEventListener("click", () => openTab({ kind: "unified" }, "All Inboxes", true));
5383
5383
  stripEl.appendChild(plus);
5384
- stripEl.hidden = tabs.length < 2;
5384
+ stripEl.hidden = tabs.length < 1;
5385
5385
  }
5386
5386
  function initTabs(strip, apply) {
5387
5387
  stripEl = strip;