• Joined on 2026-02-28
claude closed issue admin/iot-connector#73 2026-03-23 16:48:14 +00:00
Frontend: N+1 Sensor-Loading durch Batch-Call ersetzen
claude commented on issue admin/iot-connector#73 2026-03-23 16:48:09 +00:00
Frontend: N+1 Sensor-Loading durch Batch-Call ersetzen

Umgesetzt in e2c1790.

Änderungen:

  • SensorWithBox Type in types.ts hinzugefügt
  • listAllSensors() Wrapper in devices.ts für GET /api/v1/sensors
  • DarstellungView.vue: N+1 Loop…
claude pushed to main at admin/iot-connector 2026-03-23 16:48:01 +00:00
e2c17901e4 fix: replace N+1 sensor loading with batch call in DarstellungView and CalculationsView (#73)
claude commented on issue admin/iot-connector#73 2026-03-23 16:44:36 +00:00
Frontend: N+1 Sensor-Loading durch Batch-Call ersetzen

Voraussetzung erfüllt: Der Batch-Endpoint GET /api/v1/sensors ist jetzt verfügbar (#72, 378dba0).

Response-Format: Flat-Liste von SensorWithBoxResponse (alle Felder von SensorResponse +…

claude closed issue admin/iot-connector#72 2026-03-23 16:44:28 +00:00
Backend: Batch-Endpoint für Sensoren aller Devices
claude commented on issue admin/iot-connector#72 2026-03-23 16:44:23 +00:00
Backend: Batch-Endpoint für Sensoren aller Devices

Umgesetzt in 378dba0.

Neuer Endpoint: GET /api/v1/sensors

Response: Flat-Liste aller Sensoren aller aktiven Devices mit box_id Feld.

Änderungen:

  • SensorRepository.list_all()
claude pushed to main at admin/iot-connector 2026-03-23 16:44:15 +00:00
378dba07a3 feat: add batch endpoint GET /api/v1/sensors for all device sensors (#72)
claude closed issue admin/iot-connector#71 2026-03-23 16:40:29 +00:00
Auth: Hard Redirect bei 401 killt laufende Requests
claude commented on issue admin/iot-connector#71 2026-03-23 16:40:23 +00:00
Auth: Hard Redirect bei 401 killt laufende Requests

Behoben in 1d72131.

Änderungen:

  • frontend/src/api/client.ts: window.location.href = "/login" durch router.push({ name: "login" }) ersetzt. Vue Router Navigation ermöglicht sauberen…
claude pushed to main at admin/iot-connector 2026-03-23 16:40:16 +00:00
1d72131000 fix: replace hard redirect with Vue Router navigation on 401 (#71)
claude closed issue admin/iot-connector#70 2026-03-23 16:37:56 +00:00
Settings: Config wird nach Save nicht für andere Tabs aktualisiert
claude commented on issue admin/iot-connector#70 2026-03-23 16:37:51 +00:00
Settings: Config wird nach Save nicht für andere Tabs aktualisiert

Fix

Das Problem lag in SettingsRetention.vue und SettingsBackup.vue — beide hatten eigene Save-Flows, die den Shared Config Ref (provided.config) nicht aktualisierten.

Änderungen:

claude pushed to main at admin/iot-connector 2026-03-23 16:37:41 +00:00
f4e2962365 fix: reload shared config after retention/backup mutations (#70)
claude closed issue admin/iot-connector#69 2026-03-23 16:33:39 +00:00
DashboardView: Polling überschreibt WebSocket-Updates
claude commented on issue admin/iot-connector#69 2026-03-23 16:33:34 +00:00
DashboardView: Polling überschreibt WebSocket-Updates

Behoben in 417fdcb.

Änderungen:

  • refreshDevices() merged Device-Daten jetzt in-place via Object.assign statt .map() → Array-Referenzen bleiben stabil, WS-Updates (z.B. last_seen_at
claude pushed to main at admin/iot-connector 2026-03-23 16:33:26 +00:00
417fdcb32d fix: merge device data in-place during polling to preserve WS updates (#69)
claude closed issue admin/iot-connector#68 2026-03-23 16:31:10 +00:00
DiscoveryCard: async Watch Race bei Split-Depth Änderungen
claude commented on issue admin/iot-connector#68 2026-03-23 16:31:06 +00:00
DiscoveryCard: async Watch Race bei Split-Depth Änderungen

Behoben in 7ffd371.

Lösung: Sequence-Counter im splitDepth-Watcher. Bei jedem Depth-Wechsel wird splitSeq inkrementiert. Wenn der API-Response zurückkommt, wird geprüft ob `mySeq ===…

claude pushed to main at admin/iot-connector 2026-03-23 16:30:57 +00:00
7ffd371f27 fix: prevent split-preview race condition in DiscoveryCard (#68)
claude closed issue admin/iot-connector#67 2026-03-23 16:29:02 +00:00
DarstellungView: Panel-Update Race bei schnellen Edits