feat(FN-1771): add dashboard memory settings UX with backend selector and capability-aware editing

- Add /api/memory/backend endpoint returning current backend, capabilities, and available backends
- Create useMemoryBackendStatus hook with polling and frontend-friendly interface
- Add MemorySettingsSection to SettingsModal with backend selector dropdown
- Implement capability-aware UI: readonly backends disable save, fallback on unknown types
- Add comprehensive tests for API endpoints and hook behavior
- Update architecture docs with memory backend architecture section
This commit is contained in:
gsxdsm
2026-04-13 22:32:31 -07:00
parent f6ae0e2e82
commit f72a3a39db
11 changed files with 750 additions and 6 deletions

View File

@@ -0,0 +1,13 @@
---
"@gsxdsm/fusion": minor
---
Add dashboard memory settings UX for qmd backend with capability-aware editing
- Add `fetchMemoryBackendStatus` API wrapper in dashboard for `GET /api/memory/backend`
- Add `useMemoryBackendStatus` hook for frontend backend status management
- Update Settings > Memory section with:
- Backend type selector populated from API `availableBackends`
- Capability-aware editing (read-only when backend is non-writable)
- User feedback explaining why editing/saving is disabled
- Update documentation for qmd backend semantics and fallback behavior