gui/pkg/display
Snider 92333ff2db
Some checks failed
Security Scan / security (push) Failing after 8s
Test / test (push) Failing after 1m25s
feat(display): wire go-config for config file persistence
Replace the in-memory loadConfig() stub with real ~/.core/gui/config.yaml
loading via go-config. handleConfigTask now persists changes to disk via
cfg.Set() + cfg.Commit(). Sub-service applyConfig() stubs fleshed out:
window reads default dimensions (TODO: Manager API), systray stores icon
path, menu reads show_dev_tools flag with accessor.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-13 13:54:28 +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
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 feat(display): wire go-config for config file persistence 2026-03-13 13:54:28 +00:00
display_test.go feat(display): wire go-config for config file persistence 2026-03-13 13:54:28 +00:00
events.go feat(display): refactor to closure Register pattern, add config IPC handlers 2026-03-13 13:30:26 +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 feat(display): convert delegation to IPC, full conclave integration 2026-03-13 13:36:55 +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.