-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Labels
Description
Summary
- The Diagnostics panel only copies logs to the clipboard, which fails in some restricted environments.
- Provide a "Download log" action that saves a .txt file locally.
Why it matters
- Improves supportability and gives users a reliable way to attach logs to bug reports.
Acceptance Criteria
- Add a secondary button in
apps/desktop/src/pages/Settings.tsxalongside "Copy log" to trigger a file download. - Use the Tauri
dialog.saveAPI or@tauri-apps/api/fsto write the compiled diagnostics string to disk. - Display success/error feedback similar to the copy action.
Additional context
- The diagnostics payload already comes from
exportDiagnostics; reuse that helper.
Copilot