Files
Claude Agent 8905681c8c fix: NaN-Metriken, Chart-Zeitachse und erweiterte Gerätedetails
Backend:
- AgentGrpcService: JSONB-Serialisierung auf camelCase umgestellt
  (JsonSerializer.SerializeToElement mit CamelCase-Options)
  → behebt NaN bei CPU, RAM, Disk-Anzeige in der Detailseite
- AgentGrpcService: Result-JSONB explizit camelCase (exitCode, stdout, stderr, success)
  → behebt fehlende Befehlsergebnisse im Frontend
- AgentGrpcService: SignalR-Payload enthält nun Disks und NetworkInterfaces
- Program.cs: SignalR JsonProtocol auf CamelCase konfiguriert

Agent (Go):
- Heartbeat sendet nun NetworkInterfaces aus dem Collector
  → Netzwerkschnittstellen werden im Frontend angezeigt

Frontend:
- useAgentSignalR: onLiveMetrics-Callback für direktes Live-Update
  (kein API-Roundtrip mehr, < 50ms Latenz)
- AgentDetailPage komplett überarbeitet:
  - Geräteinformationen-Karte (IP, MAC, OS, Version, Enrolled-At, Last-Seen)
  - Live-Indikator auf MetricCards (grüner Puls-Punkt bei SignalR-Verbindung)
  - NaN-Schutz für alle berechneten Werte (safePercent, memPercent)
  - Chart-Reihenfolge umgekehrt: älteste links, neueste rechts
  - X-Achse: adaptives Intervall verhindert Label-Überlappung
  - Netzwerkschnittstellen-Tabelle mit Traffic (RX/TX)
  - Festplatten mit Fortschrittsbalken + Filesystem-Typ
  - Strg+Enter für schnelle Befehlsausführung

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-24 13:46:38 +01:00
..

React + TypeScript + Vite

This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.

Currently, two official plugins are available:

React Compiler

The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.

Expanding the ESLint configuration

If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...

      // Remove tseslint.configs.recommended and replace with this
      tseslint.configs.recommendedTypeChecked,
      // Alternatively, use this for stricter rules
      tseslint.configs.strictTypeChecked,
      // Optionally, add this for stylistic rules
      tseslint.configs.stylisticTypeChecked,

      // Other configs...
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])

You can also install eslint-plugin-react-x and eslint-plugin-react-dom for React-specific lint rules:

// eslint.config.js
import reactX from 'eslint-plugin-react-x'
import reactDom from 'eslint-plugin-react-dom'

export default defineConfig([
  globalIgnores(['dist']),
  {
    files: ['**/*.{ts,tsx}'],
    extends: [
      // Other configs...
      // Enable lint rules for React
      reactX.configs['recommended-typescript'],
      // Enable lint rules for React DOM
      reactDom.configs.recommended,
    ],
    languageOptions: {
      parserOptions: {
        project: ['./tsconfig.node.json', './tsconfig.app.json'],
        tsconfigRootDir: import.meta.dirname,
      },
      // other options...
    },
  },
])