diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte index c618d9d..a519c48 100644 --- a/frontend/src/App.svelte +++ b/frontend/src/App.svelte @@ -216,10 +216,26 @@ } function onNavigateBack(e) { + if (currentView === 'workspace') { + const upBtn = document.querySelector('[data-files-action="up"]'); + if (upBtn) { + upBtn.click(); + e?.preventDefault?.(); + return; + } + } if (navigateBack()) e?.preventDefault?.(); } function onNavigateForward(e) { + if (currentView === 'workspace') { + const fwdBtn = document.querySelector('[data-files-action="forward"]'); + if (fwdBtn) { + fwdBtn.click(); + e?.preventDefault?.(); + return; + } + } if (navigateForward()) e?.preventDefault?.(); } diff --git a/internal/api/app.go b/internal/api/app.go index 7b6823a..11acf09 100644 --- a/internal/api/app.go +++ b/internal/api/app.go @@ -113,7 +113,6 @@ func (a *App) ensureWorkbench() *coreworkbench.Router { func (a *App) Startup(ctx context.Context) { a.ctx = ctx log.Printf("[api] App.Startup: initialized with %d plugins", len(a.plugins)) - startMouseMonitor(ctx) } func (a *App) findPlugin(pluginID string) (*plugin.Plugin, error) {