gui/pkg/display/README.md
Virgil 7deb91ac0b
Some checks failed
Security Scan / security (push) Failing after 31s
Test / test (push) Successful in 1m14s
refactor(ax): standardise display and window contracts
2026-03-31 06:22:04 +00:00

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

  1. Run the backend tests:
    go test ./pkg/display/...
    
  2. Run the full workspace tests when you touch IPC contracts:
    go test ./...
    
  3. 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.