You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
frontend: Settings UI toggle for the experimental SQLite audit backend
Makes the opt-in auditLogBackend flag (previous commit) actually
reachable by a human instead of only by editing settings.json directly.
New audit:sqliteCapability IPC handler surfaces
getSqliteStoreCapabilityReport() so the UI can explain *why* the toggle
is disabled when the native addon isn't built, rather than it silently
doing nothing. Audit & Privacy gets a new "Audit log storage backend"
card: current backend badge, a disabled state with reason text when
SQLite isn't available, and a switch button that migrates existing
events in automatically (JSON is never deleted, so switching back is
always possible).
New e2e spec (audit-sqlite-backend-toggle.spec.ts) drives the real
Electron app: create a case on JSON, switch to SQLite, confirm the
migrated event survived, switch back, confirm it's still there.
Screenshotted the resulting Audit & Privacy page to confirm visual
placement. Full e2e suite (10 specs) and unit suites (581 app + 95
frontend) all still pass.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
0 commit comments