Part of #272. Depends on #273 (capture); the button lives on the screen from #274.
"Metrics the user could use wherever they want": export the raw alarm_history log so users own their data without Threshold needing any analytics component.
Scope
- An "Export history" action on the History & stats screen producing CSV and/or JSON (decide: one format or a choice; CSV is the spreadsheet-friendly default, JSON preserves types).
- Delivery per platform: share sheet on Android, file save dialog on desktop.
- Export the full retained log (all alarms, including deleted-alarm rows), with human-readable timestamps alongside epoch millis.
Notes
- Check the capabilities/ACL story for whatever plugin command or dialog API this uses (
apps/threshold/src-tauri/capabilities/*.json) — a command that works from Rust can still be ACL-denied from TS.
- Everything stays local; no network involved.
Part of #272. Depends on #273 (capture); the button lives on the screen from #274.
"Metrics the user could use wherever they want": export the raw
alarm_historylog so users own their data without Threshold needing any analytics component.Scope
Notes
apps/threshold/src-tauri/capabilities/*.json) — a command that works from Rust can still be ACL-denied from TS.