epic: migrate frontend from Go templates to React + Vite + TypeScript #6
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Epic: Frontend Migration
Migrate the Silo web UI from inline Go templates with vanilla JavaScript (~7,000 lines across 6 templates, ~3,500 lines of inline JS in items.html alone) to a React + Vite + TypeScript single-page application.
Motivation
The current frontend uses server-rendered Go templates with hand-rolled vanilla JS doing manual DOM manipulation, global state variables, and getElementById calls. This worked for the initial implementation but is becoming a maintenance burden as UI complexity grows. Upcoming features (context menus, customizable columns, inline editing, audit UI, batch AI workflows) will compound the problem.
React + Vite + TS provides:
Architecture
web/directory with React + Vite + TypeScript/api/*/and API at/api/*npm run buildproduces static assets inweb/dist/, embedded or served by Go/api/*to Go backendDesign Requirements
Items Page Improvements
Phased Sub-Issues
Non-Goals