memorix icon indicating copy to clipboard operation
memorix copied to clipboard

[bug] Dashboard Observations: delete, cleanup, and export capabilities not work

Open FurryWolfX opened this issue 7 months ago • 2 comments

Problem

The Dashboard Observations list (/api/observations) is currently read-only. Users cannot:

  • Delete individual observations directly from the dashboard
  • Cleanup stale/archived observations in bulk
  • Export observations for backup or migration

Context

In the Memorix dashboard, users need to manage their memory observations interactively. The current implementation only supports:

  • ✅ Viewing observations (GET /api/observations)
  • ❌ Deleting observations
  • ❌ Bulk cleanup of observations
  • ❌ Exporting observations (e.g., JSON/Markdown)

FurryWolfX avatar Apr 08 '26 15:04 FurryWolfX

Thanks for the report. We’ve confirmed this is a real dashboard bug: the observations view currently exposes read-only listing without the expected delete, cleanup, and export management actions.\n\nThis is now on our near-term fix list, and we plan to address it in the next release so these observation management capabilities work properly from the dashboard.\n\nAppreciate you flagging it.

AVIDS2 avatar Apr 08 '26 15:04 AVIDS2

Fixed in v1.0.7 Dashboard delete, cleanup, and export now work. The root cause was that serve-http.ts had its own handleDashApi that was missing DELETE /api/observations/:id and GET /api/export routes (they existed in dashboard/server.ts but not in the serve-http embedded version). Both routes are now implemented in serve-http.ts handleDashApi.

AVIDS2 avatar Apr 14 '26 17:04 AVIDS2