Skip to content

Design privacy-first local scan history #162

Description

@Muawiya-contact

Goal

Design a privacy-first local scan history.

Users may want to compare the last scan with the current scan, but Diskern must stay local, understandable, and safe.

Why this is advanced

A scan report contains file paths. Storing history needs a careful privacy design, not just a new array in local storage.

Possible shape

A first design could store only summary data by default:

{
  "scanned_at": 1760000000,
  "root_label": "Downloads",
  "files_scanned": 12000,
  "total_reclaimable": 1800000000,
  "category_totals": {
    "browser_cache": 600000000
  }
}

Full paths should require an explicit choice.

Acceptance criteria

  • Starts with a design note in the issue or PR.
  • Stores summaries locally only.
  • Does not upload anything.
  • UI lets users clear history.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appThe Tauri desktop apparchitectureWorkspace layout and engine designenhancementNew feature or requesthelp wantedExtra attention is neededlevel: advancedCross-cutting or safety-critical design workpriority: mediumWorth doing, not urgentsafetyTouches the read-only / quarantine guaranteesui/uxInterface design, usability, and visual polish

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions