gui/pkg/display
Snider 4814f960fb refactor(display): compose window/systray/menu sub-packages into orchestrator
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>
2026-03-13 12:27:19 +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
ui 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
actions.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
clipboard.go feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
dialog.go feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
display.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
display_test.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
events.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
FEATURES.md feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
interfaces.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
LICENSE feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
mocks_test.go refactor(display): compose window/systray/menu sub-packages into orchestrator 2026-03-13 12:27:19 +00:00
notification.go feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
README.md feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
theme.go feat: initial Wails v3 desktop framework 2026-01-30 08:44:23 +00:00
types.go feat(display): add shared types (EventSource) 2026-03-13 12:15:45 +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.