@bobfrankston/mailx 1.0.106 → 1.0.107

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.
@@ -300,8 +300,17 @@ async function loadFolderTree(container) {
300
300
  const accounts = await getAccounts();
301
301
  if (accounts.length === 0) {
302
302
  container.innerHTML = `<div class="folder-loading">No accounts</div>`;
303
- // Show simple setup form in the main content area
304
- const mainBody = document.getElementById("ml-body");
303
+ // Hide the message list and show setup in the viewer pane (full width)
304
+ const mlSection = document.querySelector(".message-list");
305
+ if (mlSection)
306
+ mlSection.style.display = "none";
307
+ const splitter = document.getElementById("splitter-h");
308
+ if (splitter)
309
+ splitter.style.display = "none";
310
+ const mvHeader = document.getElementById("mv-header");
311
+ if (mvHeader)
312
+ mvHeader.style.display = "none";
313
+ const mainBody = document.getElementById("mv-body");
305
314
  if (mainBody) {
306
315
  mainBody.innerHTML = `<div style="padding:2rem;line-height:1.8;max-width:500px">
307
316
  <h2 style="margin-bottom:1rem">Welcome to mailx</h2>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bobfrankston/mailx",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "description": "Local-first email client with IMAP sync and standalone native app",
5
5
  "type": "module",
6
6
  "main": "bin/mailx.js",
@@ -20,7 +20,7 @@
20
20
  "postinstall": "node launcher/builder/postinstall.js"
21
21
  },
22
22
  "dependencies": {
23
- "@bobfrankston/iflow": "^1.0.41",
23
+ "@bobfrankston/iflow": "^1.0.42",
24
24
  "@bobfrankston/miscinfo": "^1.0.7",
25
25
  "@bobfrankston/oauthsupport": "^1.0.20",
26
26
  "@bobfrankston/rust-builder": "^0.1.3",
@@ -63,6 +63,7 @@ function resolveProvider(cfg) {
63
63
  ].filter(Boolean);
64
64
  return candidates.find(p => fs.existsSync(p));
65
65
  }
66
+ case "google":
66
67
  case "gdrive": {
67
68
  const candidates = [
68
69
  home && path.join(home, "Google Drive", "My Drive", rel),
@@ -166,7 +167,7 @@ export function getStorageInfo() {
166
167
  // Mounted cloud drive
167
168
  const name = typeof entry === "string" ? "cloud" :
168
169
  entry.provider === "onedrive" ? "OneDrive" :
169
- entry.provider === "gdrive" ? "Google Drive" :
170
+ (entry.provider === "gdrive" || entry.provider === "google") ? "Google Drive" :
170
171
  entry.provider === "dropbox" ? "Dropbox" : entry.provider;
171
172
  return { provider: name, mode: "mount" };
172
173
  }
@@ -174,7 +175,7 @@ export function getStorageInfo() {
174
175
  // Not mounted but using API fallback
175
176
  if (pendingCloudConfig) {
176
177
  const name = pendingCloudConfig.provider === "onedrive" ? "OneDrive" :
177
- pendingCloudConfig.provider === "gdrive" ? "Google Drive" :
178
+ (pendingCloudConfig.provider === "gdrive" || pendingCloudConfig.provider === "google") ? "Google Drive" :
178
179
  pendingCloudConfig.provider === "dropbox" ? "Dropbox" : pendingCloudConfig.provider;
179
180
  return { provider: name, mode: "api" };
180
181
  }