feat(web): add Full Log / Mind / Journal to the mobile menu

The full-page log, read-her-mind, and journal links were only in the desktop
header (hidden behind the hamburger on phones). Add them to the mobile slide-out
menu so the phone has the extended log, her self-state, and her journal too.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-17 06:44:22 +00:00
parent 59d684b12b
commit cd2157e7fc
+15 -1
View File
@@ -35,7 +35,10 @@
<div class="mobile-menu-section"> <div class="mobile-menu-section">
<h4>Actions</h4> <h4>Actions</h4>
<button id="mobileThinkingStreamBtn">📜 Live Log</button> <button id="mobileThinkingStreamBtn">📜 Live Log (inline)</button>
<button id="mobileFullLogBtn">⛶ Full Log</button>
<button id="mobileMindBtn">🧠 Read Her Mind</button>
<button id="mobileJournalBtn">📔 Journal</button>
<button id="mobileSettingsBtn">⚙ Settings</button> <button id="mobileSettingsBtn">⚙ Settings</button>
<button id="mobileToggleThemeBtn">🌙 Toggle Theme</button> <button id="mobileToggleThemeBtn">🌙 Toggle Theme</button>
<button id="mobileForceReloadBtn">🔄 Force Reload</button> <button id="mobileForceReloadBtn">🔄 Force Reload</button>
@@ -779,6 +782,17 @@
localStorage.setItem("thinkingPanelCollapsed", "false"); localStorage.setItem("thinkingPanelCollapsed", "false");
}); });
// Mobile nav to the full-page views (log / mind / journal).
document.getElementById("mobileFullLogBtn").addEventListener("click", () => {
closeMobileMenu(); window.location.href = "/logs";
});
document.getElementById("mobileMindBtn").addEventListener("click", () => {
closeMobileMenu(); window.location.href = "/self";
});
document.getElementById("mobileJournalBtn").addEventListener("click", () => {
closeMobileMenu(); window.location.href = "/journal";
});
// Connect to the global live log on page load. // Connect to the global live log on page load.
connectThinkingStream(); connectThinkingStream();