feat(electron): added docs viewer

This commit is contained in:
2025-08-11 17:41:21 -04:00
parent b370eff4f3
commit 075f8c0cec
7 changed files with 818 additions and 6 deletions

View File

@@ -17,6 +17,7 @@ const eventHandlers = require('./renderer/event-handlers');
const opatHandler = require('./renderer/opat-handler');
const fillWorkflow = require('./renderer/fill-workflow');
const opatPlotting = require('./renderer/opat-plotting');
const docsHandler = require('./renderer/docs-handler');
// Initialize all modules with their dependencies
function initializeModules() {
@@ -31,7 +32,8 @@ function initializeModules() {
eventHandlers,
opatHandler,
fillWorkflow,
opatPlotting
opatPlotting,
docsHandler
};
// Initialize each module with its dependencies
@@ -44,6 +46,10 @@ function initializeModules() {
fillWorkflow.initializeDependencies(deps);
opatPlotting.initializePlottingDependencies(deps);
// Initialize documentation handler
const docsHandlerInstance = new docsHandler(domManager, stateManager);
docsHandlerInstance.initialize();
console.log('[RENDERER] All modules initialized with dependencies');
}