feat(frontend): scaffold for frontend with complimentary backend changes#168
Merged
Conversation
Replaces the skeleton Electron frontend with a full React 19 + TypeScript renderer (Vite, electron-forge, contextBridge preload), plus the backend additions it needs. Renderer: - TanStack Query + EventTransport (CDC SSE on /api/v1/events) - TanStack Router file-system routing (hash history for the file:// origin) - Tailwind + shadcn/ui, react-resizable-panels, Zustand UI state - @xterm/xterm per-session PTY over /mux WebSocket + WebGL addon - openapi-typescript + openapi-fetch types off openapi.yaml - electron-forge packaging + update-electron-app auto-updater - Vitest + RTL · Playwright Backend: - cors.go — allowlist-only CORS, handles Private Network Access preflight for app:// renderer -> loopback daemon - session.TerminalHandleID exposed in domain + OpenAPI spec - project.Path added to OpenAPI spec, service, store, and tests DESIGN.md documents the emdash-matched dark UI (tokens, blue accent, status glyph spec, orchestrator-led layout). Co-authored-by: Ashish Huddar <ashish.hudar@gmail.com> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Entire-Checkpoint: b1e334c1e54a
Contributor
There was a problem hiding this comment.
yyovil has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
Contributor
There was a problem hiding this comment.
yyovil has reached the 50-review limit for trial accounts. To continue receiving code reviews, upgrade your plan.
ashish921998
requested changes
Jun 10, 2026
ashish921998
left a comment
Collaborator
There was a problem hiding this comment.
how come this 21k plus lines of change?
Collaborator
Author
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.
What
Rebuilds the Electron desktop frontend as a full React 19 + TypeScript renderer (Vite + electron-forge), replacing the skeleton frontend. This is a clean extraction of @ashish921998's work from #156 — rebased onto current
main, without the Prettier mass-reformat / husky tooling that made that PR hard to review.Stack
app://renderer)/api/v1/eventsopenapi.yaml/muxWebSocket + WebGL addonBackend additions
cors.go— allowlist-only CORS middleware, never*ornull; handles Private Network Access preflight for theapp://renderer → loopback daemonsession.TerminalHandleIDexposed in domain + OpenAPI spec (+ controller tests)project.Pathadded to OpenAPI spec, service, store, and testsDesign
DESIGN.mdis the source of truth for the emdash-matched dark UI (tokens, blue accent, status glyph spec, orchestrator-led layout).Notes
main; landing site untouched; backend builds +go vetclean.🤖 Generated with Claude Code