fix: imports manquants — TabManager, showToast, closeHeaderMenu, closeMobileSidebar, ContextMenuManager, RightSidebarManager
All checks were successful
CI / lint (push) Successful in 14s
CI / security (push) Successful in 9s
CI / test (push) Successful in 18s
CI / build (push) Successful in 5s

This commit is contained in:
Bruno Charest 2026-05-29 09:01:33 -04:00
parent be65edb1a6
commit 7edbd7a31a
7 changed files with 7 additions and 2 deletions

View File

@ -1,7 +1,7 @@
/* ObsiGate — Authentication: API helper, AuthManager, login form, AdminPanel */
import { state } from './state.js';
import { safeCreateIcons } from './utils.js';
import { showToast } from './ui.js';
import { showToast, closeHeaderMenu } from './ui.js';
// ---------------------------------------------------------------------------
// API helpers

View File

@ -4,6 +4,7 @@ import { state } from './state.js';
import { el, icon } from './viewer.js';
import { syncVaultSelectors, setSelectedVaultContext, refreshSidebarForContext, loadVaults, loadTags } from './sidebar.js';
import { escapeHtml, safeCreateIcons } from './utils.js';
import { showToast, closeHeaderMenu, closeMobileSidebar } from './ui.js';
let _recentTimestampTimer = null;
let _recentFilesCache = [];

View File

@ -3,6 +3,7 @@ import { api } from './auth.js';
import { state } from './state.js';
import { escapeHtml, safeCreateIcons, getFileIcon } from './utils.js';
import { icon } from './viewer.js';
import { TabManager, showToast } from './ui.js';
// ---------------------------------------------------------------------------
// Recent files

View File

@ -5,6 +5,7 @@
import { api } from './auth.js';
import { state } from './state.js';
import { escapeHtml, safeCreateIcons } from './utils.js';
import { TabManager, closeMobileSidebar } from './ui.js';
// --- Search imports ---
import {

View File

@ -3,6 +3,7 @@ import { state } from './state.js';
import { safeCreateIcons } from './utils.js';
import { showLoading, el } from './viewer.js';
import { _getEffective } from './config.js';
import { TabManager, showToast } from './ui.js';
// ---------------------------------------------------------------------------
// Search History Service (localStorage, LIFO, max 50, dedup)
// ---------------------------------------------------------------------------

View File

@ -1,7 +1,7 @@
import { state } from './state.js';
import { safeCreateIcons, getFileIcon } from './utils.js';
import { api } from './auth.js';
import { populateCustomDropdown } from './ui.js';
import { populateCustomDropdown, TabManager, closeMobileSidebar, ContextMenuManager } from './ui.js';
import { _populateRecentVaultFilter } from './config.js';
import { el, icon, getVaultIcon, smallBadge, attachTreeItemActionButton, attachTreeItemLongPress } from './viewer.js';

View File

@ -2,6 +2,7 @@
import { api } from './auth.js';
import { state } from './state.js';
import { escapeHtml, safeCreateIcons, safeHighlight, getFileIcon } from './utils.js';
import { TabManager, closeMobileSidebar, ContextMenuManager, RightSidebarManager, showToast } from './ui.js';
// ---------------------------------------------------------------------------
// Outline/TOC Manager
// ---------------------------------------------------------------------------