Commit Graph

13 Commits

Author SHA1 Message Date
Luca Sacchi Ricciardi 74f9501a9c feat: accordion layout for model show details modal 2026-04-25 17:55:27 +02:00
Luca Sacchi Ricciardi 1c76515d8c feat: show deferred details cache mode 2026-04-25 16:13:41 +02:00
Luca Sacchi Ricciardi 165ad9c02b fix: handle local storage quota for model cache 2026-04-25 16:11:12 +02:00
Luca Sacchi Ricciardi 9649f2ccfb fix: serve cached server data before background sync 2026-04-25 15:57:37 +02:00
Luca Sacchi Ricciardi f60781bd7f feat: add multi-server control panel and host-aware sync 2026-04-25 15:40:20 +02:00
Luca Sacchi Ricciardi 3ba6a9a41c Translate UI to English and add PWA support 2026-04-25 15:32:10 +02:00
Luca Sacchi Ricciardi eea6e2a80e Fix model details modal interactions and scrolling 2026-04-25 14:05:11 +02:00
Luca Sacchi Ricciardi 87ebd35ad5 Fix model details modal and make running models primary page 2026-04-25 13:31:04 +02:00
Luca Sacchi Ricciardi 2f591e55ce feat: open model details modal on hover and refine cards layout
- Add on-hover modal opening for model cards with debounce
- Keep click-to-open behavior as fallback
- Prevent accidental hover triggers while moving inside same card
- Convert models list to responsive grid layout
- Improve card visual feedback and helper text for interaction
2026-04-24 20:15:19 +02:00
Luca Sacchi Ricciardi e05df7ce2b feat: show model details in modal with close controls
- Replace inline details panel with centered modal overlay
- Add close button (X) in top-right of modal
- Add close on backdrop click
- Add close on Escape key
- Lock body scroll while modal is open
2026-04-24 20:10:37 +02:00
Luca Sacchi Ricciardi 0789e5b8e9 fix: make model-card click reliable and remove Tailwind CDN warning
- Use encoded model key in data attribute to avoid lookup mismatch
- Decode key on click before resolving showByModel data
- Guard localStorage writes with try/catch to avoid silent UI failures
- Scroll details section into view when a card is clicked
- Remove tailwindcdn script from template (use compiled CSS only)
2026-04-24 20:04:06 +02:00
Luca Sacchi Ricciardi 57663400ce feat: load and cache Ollama show data per model with clickable model details
- Add GET /api/v1/models/{model_name}/show endpoint (proxy to Ollama /api/show)
- Worker now fetches show data for each model during model list sync
- Persist show details in localStorage under llm_monitor_models.showByModel
- Make model cards clickable to display cached show details in a dedicated panel
- Keep UI updates incremental without full page reload
- Add tests for show endpoint and OpenAPI path
- Update README and PRD with show-flow and click-card behavior
2026-04-24 19:41:46 +02:00
Luca Sacchi Ricciardi 9a6f835ddf feat: implement Web Worker architecture for efficient data sync
- Add data-sync.worker.js: separate thread for API calls (30s interval)
- Add app.js: main thread with DOM update logic and localStorage integration
- Update index.html: remove inline scripts, use external app.js
- Implement granular DOM updates (only update changed elements)
- Add localStorage persistence for health and models data
- Add Web Worker fallback for unsupported browsers
- Add WEB_WORKERS.md documentation with architecture details

Benefits:
- Main thread never blocked by network requests
- UI stays responsive at 60 FPS
- Offline support via localStorage
- Efficient DOM updates (no unnecessary re-renders)
- Better browser support and performance
2026-04-24 19:16:51 +02:00