Squash Odysseus development history

This commit is contained in:
pewdiepie-archdaemon
2026-09-11 06:04:19 +00:00
parent c9dd68d890
commit 84aa9a91de
871 changed files with 265870 additions and 27854 deletions
+7 -1
View File
@@ -1,6 +1,6 @@
// Search Chat Module — Ctrl+K command palette for searching conversations
import uiModule from './ui.js';
import uiModule from './ui.js?v=20260908weekhoverfix1';
import sessionModule from './sessions.js';
let API_BASE = '';
@@ -35,6 +35,12 @@ export function openSearch() {
hideMobileSidebarForSearch();
const overlay = el('search-overlay');
if (!overlay) return;
// Freeze the opening offset before focus summons the mobile keyboard.
// A live `vh` value shrinks during the keyboard animation and visibly
// pulls the search popup upward even though it is already unobscured.
const openingHeight = window.innerHeight || document.documentElement.clientHeight;
const openingTop = Math.max(56, Math.min(140, Math.round(openingHeight * 0.15)));
overlay.style.setProperty('--search-overlay-top', `${openingTop}px`);
overlay.classList.remove('hidden');
const input = el('search-input');
if (input) {