fix: 4 imports manquants — switchSidebarTab, performAdvancedSearch, escapeHtml, openFile
All checks were successful
CI / lint (push) Successful in 13s
CI / security (push) Successful in 17s
CI / test (push) Successful in 15s
CI / build (push) Successful in 2s

This commit is contained in:
Bruno Charest 2026-05-29 11:55:43 -04:00
parent 4748a75687
commit c88c359c09
3 changed files with 5 additions and 3 deletions

View File

@ -1,7 +1,7 @@
// config.js — extracted from app.js (3872-4865)
import { api } from './auth.js';
import { state } from './state.js';
import { el, icon } from './viewer.js';
import { el, icon, openFile } 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';
@ -1014,4 +1014,5 @@ export {
initRecentTab,
loadAbout as initAboutSection,
loadHiddenFilesSettings as initHiddenFilesConfig,
switchSidebarTab,
};

View File

@ -2,8 +2,9 @@ import { state } from './state.js';
import { safeCreateIcons, getFileIcon } from './utils.js';
import { api } from './auth.js';
import { populateCustomDropdown, TabManager, closeMobileSidebar, ContextMenuManager } from './ui.js';
import { _populateRecentVaultFilter } from './config.js';
import { _populateRecentVaultFilter, switchSidebarTab } from './config.js';
import { el, icon, getVaultIcon, smallBadge, attachTreeItemActionButton, attachTreeItemLongPress, showWelcome } from './viewer.js';
import { performAdvancedSearch } from './search.js';
// ---------------------------------------------------------------------------
// Vault context switching

View File

@ -1,7 +1,7 @@
/* ObsiGate — UI module */
import { state } from './state.js';
import { openFile, showWelcome } from './viewer.js';
import { safeCreateIcons, getFileIcon } from './utils.js';
import { safeCreateIcons, getFileIcon, escapeHtml } from './utils.js';
import { syncActiveFileTreeItem } from './sidebar.js';
// ---------------------------------------------------------------------------
// Right Sidebar Manager