1c0a7cb850
Phase 4 — New Widget Types: - Clock/Weather, System Stats, RSS/Feed, Calendar, Markdown, Metric/Counter, Link Group, Camera/Stream widgets - Backend services with caching for each data source - Full creation form with dynamic config fields per type Phase 5 — Visual & Styling Enhancements: - Glassmorphism card style (solid/glass/outline) - Board-level themes with per-board hue/saturation - Animated SVG status rings replacing static dots - Card size options (compact/medium/large) - Custom CSS injection (admin + per-board, sanitized) - Wallpaper backgrounds with blur/overlay/parallax Phase 6 — Functional Features: - Favorites bar with drag-and-drop reordering - Recent apps tracking with privacy toggle - Uptime dashboard page (/status, guest-accessible) - Notifications system (Discord/Slack/Telegram/HTTP webhooks) - App tags with filtering in board view - Multi-URL app cards with expandable sub-links - Personal API tokens with scoped permissions - Audit log with retention and admin viewer Phase 7 — Quality of Life: - Onboarding wizard (5-step first-launch setup) - App URL health preview with favicon/title detection - Board templates (4 built-in + custom import/export) - Keyboard shortcut overlay (j/k nav, 1-9 boards, ? help) 212 files changed, 15641 insertions, 980 deletions. Build, lint, type check, and 222 tests all pass.
1.3 KiB
1.3 KiB
Phase 5: Auto-Discovery (Docker/Traefik)
Status: ⬜ Not Started Parent plan: PLAN.md Domain: backend
Tasks
- Task 1: Create
src/lib/server/services/discoveryService.ts— Docker socket scanning and Traefik API parsing - Task 2: Create
src/routes/api/admin/discover/+server.ts— POST triggers discovery scan, returns found services - Task 3: Create
src/routes/api/admin/discover/approve/+server.ts— POST approves discovered apps (creates them) - Task 4: Create
src/lib/components/admin/DiscoveryPanel.svelte— UI to trigger scan, review results, approve/reject - Task 5: Add discovery settings to SystemSettings (Docker socket path, Traefik API URL, auto-scan toggle)
- Task 6: Update admin settings page with discovery configuration section
- Task 7: Add env vars: DOCKER_SOCKET_PATH, TRAEFIK_API_URL
- Task 8: Add i18n translations (EN/RU)
Notes
- Docker discovery: read from
/var/run/docker.sock(or configured path), list containers, extract labels for name/URL - Traefik discovery: query Traefik API
/api/http/routersand/api/http/services - Both are optional — gracefully handle when Docker socket or Traefik API is unavailable