gui/pkg/display
Snider b559562dd9
Some checks failed
Security Scan / security (pull_request) Failing after 28s
Test / test (pull_request) Failing after 1m59s
fix(dx): use coreerr.E() and go-io, update CLAUDE.md, add tests
- Replace 90+ fmt.Errorf calls with coreerr.E() from go-log across
  display, window, systray, keybinding, contextmenu, and mcp packages
- Replace os.ReadFile/WriteFile/MkdirAll with coreio.Local in
  window/layout.go and window/state.go
- Update CLAUDE.md: fix key files table for new package structure,
  document error handling and file I/O conventions, add missing deps
- Add 37 tests for window package (task handlers, persistence,
  tiling modes, snap positions, workflow layouts)
- Window coverage: 47.1% → 69.8%

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-17 09:05:35 +00:00
..
.github/workflows feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
assets feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
docs feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
.gitignore feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
display.go fix(dx): use coreerr.E() and go-io, update CLAUDE.md, add tests 2026-03-17 09:05:35 +00:00
display_test.go refactor(display): remove extracted clipboard/dialog/notification/theme/screen code 2026-03-13 14:24:06 +00:00
events.go feat(display): add webview IPC->WS bridging (18 cases) 2026-03-13 16:03:50 +00:00
FEATURES.md feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
interfaces.go refactor(display): migrate stale Wails calls to IPC, remove wrapper types 2026-03-13 14:53:50 +00:00
LICENSE feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
messages.go feat(display): add contextmenu integration and ActionIDECommand to orchestrator 2026-03-13 14:52:38 +00:00
mocks_test.go refactor(display): remove extracted clipboard/dialog/notification/theme/screen code 2026-03-13 14:24:06 +00:00
README.md feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00

Display

This repository is a display module for the core web3 framework. It includes a Go backend, an Angular custom element, and a full release cycle configuration.

Getting Started

  1. Clone the repository:

    git clone https://github.com/Snider/display.git
    
  2. Install the dependencies:

    cd display
    go mod tidy
    cd ui
    npm install
    
  3. Run the development server:

    go run ./cmd/demo-cli serve
    

    This will start the Go backend and serve the Angular custom element.

Building the Custom Element

To build the Angular custom element, run the following command:

cd ui
npm run build

This will create a single JavaScript file in the dist directory that you can use in any HTML page.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the EUPL-1.2 License - see the LICENSE file for details.