Skip to content

[Feature] Export & Import Profiles #1

@umesh-saini

Description

@umesh-saini

📦 Feature: Export & Import Profiles

Problem

Users who reinstall their OS or switch machines lose all their DevSwitch profiles
and have to set everything up from scratch.

Proposed Solution

Add an Export button that saves all profiles to a .json file, and an Import
button that restores them on any machine.

What needs to be done

  • Add "Export Profiles" button in settings/home
  • Serialize profiles (excluding sensitive data like passphrases) to JSON
  • Add "Import Profiles" button with file picker
  • Validate imported JSON before applying
  • Show success/error feedback to the user

Tech notes

  • Profiles are stored via electron-store in the main process
  • Use Electron's dialog.showSaveDialog / showOpenDialog for file picker
  • See electron/services/storageService.ts for how profiles are stored

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions