verstak/cmd/verstak-gui/frontend-dist
mirivlad b4010a5a24 gui: Wails v2 vertical MVP — bindings + UI
Go bindings (cmd/verstak-gui/app.go):
- Wire notes.Service, files.Service, actions.Service, worklog.Service
- CreateNote, ListNotes, ReadNote, SaveNote
- ListFiles, ListActions, RunAction
- ListWorklog, CreateWorklog
- Fix DTO mappings for core types

Frontend (frontend/src/):
- api/verstak.js: Wails v2 API wrapper (window.go.main.App)
- App.svelte: full rewrite with sidebar + 6 tabs + notes editor
- Section filtering → nodes by section
- Notes: create, open textarea editor, save, dirty tracking
- Quick actions, worklog entries, empty states
- Node creation modal with section select

Build:
  cd frontend && npm run build
  rm -rf cmd/verstak-gui/frontend-dist && cp -r frontend/dist cmd/verstak-gui/frontend-dist
  go build -tags 'gui production webkit2_41' -o verstak-gui ./cmd/verstak-gui
  ./verstak-gui
2026-05-31 20:37:46 +08:00
..
assets gui: Wails v2 vertical MVP — bindings + UI 2026-05-31 20:37:46 +08:00
Inter-Medium.ttf gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
index.html gui: fix layout — full viewport, dark theme, sidebar+main 2026-05-31 19:54:07 +08:00
style.css gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
svelte.svg gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00
wails.png gui: port frontend to Wails v2 2026-05-31 19:39:49 +08:00