fix: renderFile, searchByTag, addTagFilter, DashboardWidgets — 8 imports manquants
All checks were successful
CI / lint (push) Successful in 14s
CI / security (push) Successful in 9s
CI / test (push) Successful in 17s
CI / build (push) Successful in 2s

This commit is contained in:
Bruno Charest 2026-05-29 13:20:07 -04:00
parent 2004a49b2d
commit c22259b362
5 changed files with 8 additions and 5 deletions

View File

@ -462,4 +462,4 @@ const DashboardBookmarkWidget = {
}
};
export { DashboardRecentWidget, DashboardStatsWidget, DashboardBookmarkWidget, DashboardSharedWidget };
export { DashboardRecentWidget, DashboardStatsWidget, DashboardBookmarkWidget, DashboardSharedWidget, DashboardConflictsWidget };

View File

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

View File

@ -1094,4 +1094,4 @@ function searchByTag(tag) {
}
export { initVaultContext, setSelectedVaultContext, syncVaultSelectors, shouldDisplayPath, loadVaults, initSidebarFilter, TagFilterService, loadTags, scrollTreeItemIntoView, refreshSidebarForContext, focusVaultInSidebar, refreshTagsForContext, syncActiveFileTreeItem };
export { initVaultContext, setSelectedVaultContext, syncVaultSelectors, shouldDisplayPath, loadVaults, initSidebarFilter, TagFilterService, loadTags, scrollTreeItemIntoView, refreshSidebarForContext, focusVaultInSidebar, refreshTagsForContext, syncActiveFileTreeItem, searchByTag, addTagFilter };

View File

@ -1,10 +1,11 @@
/* ObsiGate — UI module */
import { api, AuthManager, initLoginForm } from './auth.js';
import { state } from './state.js';
import { openFile, showWelcome } from './viewer.js';
import { openFile, showWelcome, renderFile } from './viewer.js';
import { safeCreateIcons, getFileIcon, escapeHtml } from './utils.js';
import { syncActiveFileTreeItem } from './sidebar.js';
import { GraphViewManager } from './graph.js';
import { DashboardConflictsWidget } from './dashboard.js';
// ---------------------------------------------------------------------------
// Right Sidebar Manager
// ---------------------------------------------------------------------------

View File

@ -3,9 +3,10 @@ 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';
import { syncActiveFileTreeItem } from './sidebar.js';
import { syncActiveFileTreeItem, searchByTag } from './sidebar.js';
import { AutocompleteDropdown } from './search.js';
import { initDashboardTabs } from './sync.js';
import { DashboardStatsWidget, DashboardRecentWidget, DashboardBookmarkWidget, DashboardSharedWidget, DashboardConflictsWidget } from './dashboard.js';
// ---------------------------------------------------------------------------
// Outline/TOC Manager
// ---------------------------------------------------------------------------
@ -371,7 +372,7 @@ async function renderBacklinksPanel(vault, path, container) {
}
}
function renderFile(data) {
export function renderFile(data) {
const area = document.getElementById("content-area");
// Handle unsupported (binary) files