Commit Graph

20 Commits

Author SHA1 Message Date
djuka
e81eade2e1 T25: Izveštaj dugme za done taskove + testovi za timestampe
Fix: done taskovi bez reporta sada prikazuju "Izveštaj" dugme.
Dodato 10 novih testova za timestamp tracking i report prikaz.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 04:51:40 +00:00
djuka
510b75c0bf Konzola: dinamičke task sesije sa PTY per task
- Zamena fiksnih 2 sesija sa taskSessionManager (map po task ID)
- "Pusti" pokreće interaktivni claude u PTY, šalje task prompt
- "Proveri" pokreće review claude sesiju za task u review/
- WS se konektuje na postojeću PTY sesiju po task ID-u
- Konzola stranica dinamički prikazuje terminale za aktivne sesije
- Replay buffer za reconnect na postojeće sesije
- Novi testovi za session manager, prompt buildere, review endpoint

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 04:32:34 +00:00
djuka
932ffe5203 Konzola: interaktivni claude CLI + panic fix
- Svaka konzola sesija pokreće interaktivni claude (ne bash)
- Fix panic: send on closed channel kad se WS diskonektuje
- Tema: Claude Code boje (#0d1117 pozadina)
- PTY readLoop logging za debug

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-21 04:04:39 +00:00
djuka
d27eb900b1 Konzola: sklonjen command input, detaljno WS logovanje
- Uklonjena input polja iz konzole — rad samo kroz Pusti dugme
- Detaljno logovanje WS: connect, poll, subscribe, buffer, disconnect
- WS timeout 30s ako nema PTY sesije
- Provera da li je PTY already done pre nego subscribe

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:52:51 +00:00
djuka
64df1e784c Fix konzola: auto-connect, welcome poruka, redirect posle Pusti
- Auto-connect WS na running sesije kad se otvori /console
- Welcome poruka u terminalu kad nema aktivne sesije
- Redirect na /console posle uspešnog "Pusti" klika
- CSS fix: min-height i position za xterm kontejner

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:40:00 +00:00
djuka
c970cb2419 Konzola: xterm.js + WebSocket + PTY real-time terminal
- Nova pty_session.go: RingBuffer, consolePTYSession, spawnConsolePTY
- Nova ws.go: WebSocket handler za PTY bidirekcioni I/O
- console.go: koristi consolePTYSession umesto starih pipe-ova
- console.html: xterm.js 5.5.0 CDN, FitAddon, WebLinksAddon
- Podrška za resize, binarni podaci, replay buffer (1MB)
- 8 novih testova (RingBuffer + xterm konzola) — ukupno 179

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:31:27 +00:00
djuka
80cf1d73ce Fix: Operater mod koristi claude CLI umesto API poziva
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 14:50:01 +00:00
djuka
23f0fba6ec Fix: Task detalj renderuje markdown kao HTML kroz goldmark
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:48:19 +00:00
djuka
5bf7375b50 Fix: Task detalj kao overlay modal umesto side panela
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:43:31 +00:00
djuka
b3645beea0 T22: Prijava — dva moda (klijent forma + operater chat sa Claude API)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:38:05 +00:00
djuka
f137703f1b T21: UI poboljšanja — detalj panel 50%, konzola fullscreen, docs full height
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:28:29 +00:00
djuka
500899121b T20: Workflow dugmad po statusu taska (blocked/review/run/approve/done)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:13:55 +00:00
djuka
ddc54e739a T16: SSE auto-refresh dashboarda sa polling i hash detekcijom
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 13:09:12 +00:00
djuka
10c510d9ef T19: Dugme Pusti na task karticama sa pokretanjem u čistoj sesiji
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:59:41 +00:00
djuka
0e6d0ecd66 T15: Docs viewer sidebar layout (25%/75% grid) sa HTMX fragmentima
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:55:05 +00:00
djuka
70e2ee684f T14: Dodata konzola sa SSE streaming i dva paralelna panela
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:51:16 +00:00
djuka
a3fc9b3af0 T13: Dodat search bar sa instant pretragom taskova i dokumenata
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:47:39 +00:00
djuka
563abd8481 T12: Dodat docs viewer sa goldmark markdown renderovanjem
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:42:11 +00:00
djuka
aabdfa9e50 T10: Drag & Drop — premesti task prevlačenjem
- Sortable.js na Kanban board sa drag & drop
- Server-side validacija: allowedMoves mapa, isMoveAllowed()
- Zabranjeni potezi vraćaju 403 (ready→active, active→review)
- Toast notifikacije (zeleni uspeh, crveni greška)
- Ghost/chosen/drag CSS animacije
- Board auto-refresh posle svakog poteza
- 7 novih testova, 90 ukupno — svi prolaze
- T09 premešten u done/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:18:50 +00:00
djuka
3302f83cff T09: Dashboard — Kanban board sa Go templates
- html/template sistem: layout, dashboard, column, task-card, task-detail
- Dark tema CSS, responsive grid (5→3→2→1 kolona)
- HTMX: klik→detalj panel, move dugmad, auto-refresh active kolone
- /report/:id za prikaz izveštaja
- Slide-in animacija za detalj panel
- 16 server testova, 83 ukupno — svi prolaze
- T08 premešten u done/

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 12:14:31 +00:00