feat(frontend): add polling job queue ui

This commit is contained in:
2026-06-21 01:39:49 +03:30
parent 24a025587e
commit ac91428d49
36 changed files with 5674 additions and 0 deletions

26
frontend/README.md Normal file
View File

@@ -0,0 +1,26 @@
# Frontend
Vite React demo UI for the minimal job queue.
It reuses the visual style from the previous advanced frontend, but only keeps:
- dashboard
- jobs page
- job detail page
- global events page
The UI polls:
- jobs and stats every 2 seconds
- events every 1 second
No WebSockets are used.
## Run
```powershell
npm install
npm run dev
```
The Docker frontend image serves the local `dist/` directory with nginx, so run `npm run build` before `docker compose up --build` if `dist/` is missing or stale.