761 B
761 B
Display
pkg/display is the Core GUI display service. It owns window orchestration, layouts, menus, system tray state, dialogs, notifications, and the IPC bridge to the frontend.
Working Locally
- Run the backend tests:
go test ./pkg/display/... - Run the full workspace tests when you touch IPC contracts:
go test ./... - Build the Angular frontend:
cd ui npm install npm run build
Declarative Windows
Windows are created from a window.Window spec instead of a fluent option chain:
svc.OpenWindow(window.Window{Name: "editor", Title: "Editor", URL: "/#/editor"})
The same spec is used by CreateWindow, layout restore, tiling, snapping, and workflow presets.