Skip to content

Rename Import Connections to Import Settings, copy config files#658

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/import-settings
Mar 20, 2026
Merged

Rename Import Connections to Import Settings, copy config files#658
erikdarlingdata merged 1 commit into
devfrom
feature/import-settings

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

Expands the "Import Connections" button to "Import Settings" — now copies all config files from a previous install, not just server connections.

Files imported

  • servers.json — upsert by server name (unchanged)
  • settings.json — alert thresholds, SMTP config, theme, MCP port
  • collection_schedule.json — custom collector schedules
  • ignored_wait_types.json — custom wait type exclusions
  • alert_state.json — dismissed alert state

Config files only copy if the target doesn't already exist — won't overwrite current settings. Prompts user to restart to apply imported settings.

Prerequisite for Velopack Lite integration — ensures users don't lose settings when data moves to %LOCALAPPDATA%.

🤖 Generated with Claude Code

Now imports the full config folder from a previous install:
- servers.json (upsert by server name, as before)
- settings.json (alert thresholds, SMTP, theme, MCP settings)
- collection_schedule.json (custom schedules)
- ignored_wait_types.json (custom wait exclusions)
- alert_state.json (dismissed alerts)

Config files are only copied if they don't already exist in the
current install — won't overwrite a user's current settings.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit b9a5049 into dev Mar 20, 2026
@erikdarlingdata erikdarlingdata deleted the feature/import-settings branch April 9, 2026 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant