it is with great sadness the DOM and event bus go. Its all callbacks now

This commit is contained in:
2026-03-03 14:20:41 +00:00
parent 4cb14dd40f
commit 11dc255303
13 changed files with 82 additions and 538 deletions
-4
View File
@@ -3,8 +3,6 @@ package tui
import (
"esdi/tui/internal/controllers"
"esdi/tui/internal/dom"
"esdi/tui/internal/events"
"esdi/tui/internal/services"
"log/slog"
@@ -20,9 +18,7 @@ type ControlPanel struct {
func NewControlPanel(logger *slog.Logger) *ControlPanel {
baseController := &controllers.Controller{
Logger: logger,
Bus: events.NewBus(),
App: tview.NewApplication(),
Dom: dom.NewDOM(),
}
deviceService := services.NewCDashService(logger)