Skip to content

Offer a diagnostics download in Settings #55

@theg1239

Description

@theg1239

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.tsx alongside "Copy log" to trigger a file download.
  • Use the Tauri dialog.save API or @tauri-apps/api/fs to 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions