gui/pkg/display
Claude a9b795f223
Some checks failed
Security Scan / security (push) Failing after 29s
Test / test (push) Successful in 2m9s
feat: Wails v3 stub bridge + feature expansion + display bridge + MCP events
Stubs (15 files, 479 exports):
- All managers: Dialog, Event, Browser, Clipboard, ContextMenu, Environment, Screen, KeyBinding
- Window interface (~50 methods), BrowserWindow, platform options (iOS/Android)
- MenuItem (42 roles), WebviewWindowOptions (full platform types)
- Wails v3 submodule pinned at alpha 74

New events package (17th package):
- Custom event system bridged to Core IPC
- TaskEmit, TaskOn, TaskOff, QueryListeners, ActionEventFired

Feature expansions:
- Window: zoom, content (SetURL/SetHTML/ExecJS), bounds, print, flash
- Screen: QueryCurrent, ScreenPlacement, Rect geometry
- Dialog: typed tasks, file options, Info/Question/Warning/Error
- Keybinding: TaskProcess, ErrorNotRegistered
- Notification: RevokePermission, RegisterCategory, action broadcasts
- Dock: SetProgressBar, Bounce/StopBounce
- Environment: HasFocusFollowsMouse
- ContextMenu: QueryGetAll, TaskUpdate, TaskDestroy

Display bridge: 5 new event types wired to WebSocket
MCP: 4 event tools (emit, on, off, list)

17 packages build and test clean (1 flaky test ordering issue in window).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-31 17:42:09 +01: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 feat: Wails v3 stub bridge + feature expansion + display bridge + MCP events 2026-03-31 17:42:09 +01:00
display_test.go feat: Wails v3 stub bridge + feature expansion + display bridge + MCP events 2026-03-31 17:42:09 +01:00
events.go feat: Wails v3 stub bridge + feature expansion + display bridge + MCP events 2026-03-31 17:42:09 +01: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.