Commit Graph

12 Commits

Author SHA1 Message Date
zhi
34ab80e50d style: align monitor page with dashboard look and add monitor styles 2026-03-11 17:49:44 +00:00
zhi
ddcbd28967 fix: repair monitor sidebar and alert rendering 2026-03-11 17:26:37 +00:00
zhi
d574258c8e feat: show provider window and last update in monitor view 2026-03-11 13:15:20 +00:00
zhi
18b1a51f3f feat: add monitor admin panel for provider/server management and challenge generation 2026-03-11 12:41:35 +00:00
zhi
bc1714281c feat: allow public monitor route without login and add monitor page 2026-03-11 11:59:56 +00:00
zhi
dbb7d9013a fix: guard dashboard recent_issues when backend payload omits field 2026-03-11 10:32:01 +00:00
zhi
bd4a206e76 fix: use configured backend_url for API base instead of /api path
- Read HF_BACKEND_BASE_URL from localStorage in api client
- Refresh baseURL on each request interceptor
- Persist backend_url from wizard config during app bootstrap
- Persist backend_base_url after setup save
2026-03-11 10:31:25 +00:00
zhi
d3ca13108b feat: add backend base URL field in setup config 2026-03-11 10:26:23 +00:00
zhi
c92e399218 fix: check wizard config for initialized flag instead of backend health
- App checks wizard API for harborforge.json config with initialized=true
- If not initialized, show embedded setup wizard (talks to wizard API via CORS)
- Setup saves config with initialized:true to wizard config volume
- After restart, backend reads config and starts, frontend sees initialized=true
- Remove VITE_API_BASE build arg (not needed, api.ts uses /api relative path)
- Fix Object.entries null crash in DashboardPage
2026-03-11 10:09:33 +00:00
zhi
f8fac48fcc feat: setup wizard page for first-deploy initialization
- SetupWizardPage: step-by-step config (DB, admin, project)
- Connects directly to AbstractWizard via SSH tunnel (127.0.0.1)
- App.tsx: detect backend health, show wizard if not ready
- Auto-switch wizard to readonly after setup
- Add VITE_WIZARD_PORT build arg
- Add vite-env.d.ts for type safety
2026-03-06 13:46:46 +00:00
zhi
54d4c4379a feat: remove nginx, add projects/milestones/notifications pages
- Dockerfile: replace nginx with serve for static files
- Fix auth endpoint: /auth/login → /auth/token
- Add ProjectsPage, ProjectDetailPage
- Add MilestonesPage, MilestoneDetailPage with progress bar
- Add NotificationsPage with unread count
- Sidebar: add milestones/notifications nav, live unread badge
- API: configurable VITE_API_BASE for host nginx proxy
- Types: add Milestone, MilestoneProgress, Notification, ProjectMember
2026-03-06 13:05:19 +00:00
Zhi
853594f447 feat: initial frontend - React + TypeScript + Vite
- Login page with JWT auth
- Dashboard with stats and charts
- Issues list with pagination, filtering
- Issue detail with comments, status transitions
- Create issue form
- Dark theme UI
- Docker (nginx) with API proxy to backend
- Sidebar navigation
2026-02-27 09:47:19 +00:00