nandi/oripublic Fork 0
ca7e020cbb6442f047e0002eb9831ba29f8a17af
Commits
Clone
git clone https://git.rickub.com/nandi/ori.git
git clone ssh://git@rickub.com/nandi/ori.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

forked from bots-garden/ori

0005-create-a-native-ui-to-connect-the-webapp.yaml · 39 lines · 1.8 KBYAML Blame HistoryRaw
✨ Workspace panel, selectors, previews, desktop app, sandbox template, resizable file tree, light/dark theme 76d62ac k33g yesterday1# Managed by IssueSpec. Hand edits are welcome; keep the schema valid.
2id: 5
3title: Create a "native" UI to connect the webapp
4state: open
5author:
6 name: k33g
7 email: ph.charriere@gmail.com
8createdAt: 2026-09-17T19:19:43.179Z
9updatedAt: 2026-09-17T22:23:39.000Z
10labels: []
11body: |
12 Desktop shell for the ori webapp, built with Wails v2 (Go + platform webview), living in
13 `ori-desktop/` as its own Go module (`rickub.com/bots-garden/ori-desktop`).
14
15 Behaviour: a connection screen asks for the ori server URL (default http://localhost:8888,
16 remembered in `<user config dir>/ori-desktop/settings.json`), a Go-bound method checks
17 `GET /healthz`, then the ori SPA is shown inside the window in an iframe (Wails v2 cannot
18 navigate its main webview to an external URL; `runtime.BrowserOpenURL` is offered as fallback).
19
20 Docs: `ori-desktop/README.md` (EN) and `ori-desktop/README.fr.md` (FR).
21 Root Makefile targets: `make desktop` (wails build), `make desktop-test` (pure-Go tests).
22tasks:
23 - text: Own Go module with Wails v2.16 layout (main.go, app.go, wails.json, frontend/, build/)
24 done: true
25 - text: Bound Go methods GetConfig / SaveConfig / CheckHealth / Connect / OpenInBrowser / SettingsPath
26 done: true
27 - text: Settings persisted as JSON in the user config dir, with unit tests
28 done: true
29 - text: /healthz probe with unit tests against httptest
30 done: true
31 - text: Plain HTML/CSS/JS frontend embedding ori in an iframe with a thin native bar
32 done: true
33 - text: README (EN) + README.fr (FR), root Makefile targets, .gitignore entries
34 done: true
35 - text: Verified go test / go vet and a Windows cross-build (wails build -platform windows/amd64)
36 done: true
37 - text: Launch the window on a machine with the GUI toolchain (webkit2gtk / Xcode / WebView2) and confirm the iframe embed
38 done: false
39comments: []