Documentation
¶
Overview ¶
Command showcase is Tango's demo app: a WebView page (plain HTML/CSS/JS, no npm) that shows the IPC layer (bound calls, errors, events, streams with back-pressure and cancel), system capabilities reached from the page through jsapi (window, clipboard, dialogs, notifications, displays, theme), and the native side driven from Go (tray icon, app menu, notifications, theme following).
go run ./examples/showcase # interactive go run ./examples/showcase -smoke # runs every unattended check, prints PASS/FAIL, exits
In -smoke mode the page runs its checks and reports them with the "done" event; checks that need a person (dialogs, menus, tray clicks) are only listed as skipped. Notifications need a .app bundle on macOS: from a bare binary notify fails with a clear error, which the smoke run reports as a skip. TANGO_SMOKE_TIMEOUT_SCALE=3 stretches the timeout for slow machines.