feat(desktop): add Electron dashboard shell#730
Open
NetVar1337 wants to merge 2 commits into
Open
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
69d06c3 to
add166e
Compare
Add a desktop workspace that wraps the local web dashboard, can start the existing Compose web profile, keeps external navigation in the system browser, and shows an offline status screen when the dashboard is not running. Fixes: #721 Constraint: Reuse existing Next dashboard and Compose lifecycle instead of rewriting UI Rejected: Tauri shell | adds Rust packaging risk while still needing Node/Next services Confidence: high Scope-risk: moderate
add166e to
34b94b5
Compare
PurpleCHOIms
approved these changes
Jun 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
clients/desktop, an Electron shell for the existing local web dashboard.BrowserWindow.icon+ Windows AppUserModelID.webprofile on launch when the dashboard is offline; no required first-click UI.~/.decepticon/.version, matching launcher behavior and avoiding stale:stable/ 1.1.15 containers.docker-compose.ymland.envbefore starting Compose so incomplete setup shows actionable onboarding guidance instead of raw Docker errors.decepticon onboard, copyable API-key reset, release download, and setup docs actions.Fixes #721
Verification
npm test --workspace=@decepticon/desktopfailed beforesrc/config.mjsexisted.npm run desktop:testnode --check clients/desktop/src/main.mjsnode --check clients/desktop/src/config.mjsnode --check clients/desktop/src/ui.mjsnode --check clients/desktop/src/preload.cjsELECTRON_DISABLE_SANDBOX=1 npm exec --workspace=@decepticon/desktop electron -- --version→v39.8.10file clients/desktop/assets/icon.png→PNG image data, 512 x 512, 8-bit/color RGBAStart dashboardbutton exists; launch auto-bootstraps to the web profile path and polls readiness after Compose succeeds.Retry bootstrapandOpen dashboard in browserbuttons remain present and clickable.decepticon onboard, API-key reset, Download, and Setup docs actions.~/.decepticon: app loadedhttp://localhost:3000/dashboard directly.ghcr.io/purpleailab/decepticon-web:stablewas detected, desktop recreated stack asghcr.io/purpleailab/decepticon-web:1.1.23, then loaded dashboard.