Skip to content

Make History Retention and Count Configurable #7

@mberrishdev

Description

@mberrishdev

Description

Allow users to configure how long clipboard items are retained and maximum number of items to save.

Tasks

  • Add setting for retention period (e.g., 7 days, 30 days, forever)
  • Add setting for max history items (default: 100)
  • Auto-delete items older than retention period
  • Show retention info in settings UI
  • Add dropdown/slider for time periods (1 day, 7 days, 30 days, 90 days, forever)
  • Persist settings to disk
  • Add IPC handlers for get/set settings
  • Run cleanup on app startup and periodically

Technical Details

  • Store timestamps with each clipboard item
  • Run cleanup check daily or on app start
  • Store config in app.getPath('userData')/config.json
  • Suggested options:
    • Retention: 1 day, 7 days, 30 days, 90 days, forever
    • Max items: 50, 100, 500, 1000, unlimited

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions