Service now delegates to window.Manager, systray.Manager, and menu.Manager instead of directly using Wails types. WSEventManager accepts EventSource interface instead of calling application.Get() directly. AttachWindowListeners now accepts window.PlatformWindow. Removes migrated files: window.go, window_state.go, layout.go, tray.go, menu.go. Tests rewritten against mock platform implementations. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .github/workflows | ||
| assets | ||
| docs | ||
| ui | ||
| .gitignore | ||
| actions.go | ||
| clipboard.go | ||
| dialog.go | ||
| display.go | ||
| display_test.go | ||
| events.go | ||
| FEATURES.md | ||
| interfaces.go | ||
| LICENSE | ||
| mocks_test.go | ||
| notification.go | ||
| README.md | ||
| theme.go | ||
| types.go | ||
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
-
Clone the repository:
git clone https://github.com/Snider/display.git -
Install the dependencies:
cd display go mod tidy cd ui npm install -
Run the development server:
go run ./cmd/demo-cli serveThis 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.