Skip to content

Update built-in profiles to match website and migrate existing users #142

@dougborg

Description

@dougborg

Context

The built-in profiles hardcoded in the app are out of date compared to what's listed on deflock.me. Existing users who installed the app with the old defaults have stale copies in local storage.

Work

Update defaults

  • Update the built-in profile definitions in lib/models/node_profile.dart to match the current deflock.me website listings (better tag sets, possibly new profiles)

Migrate existing users

  • Add one-time migration code that runs on app launch to update existing users' saved profiles to the new versions
  • Must not clobber any custom profiles the user created — only update profiles that match the old built-in defaults
  • Migration should be idempotent and version-tracked (so it only runs once)

Relates to

Files likely affected

  • lib/models/node_profile.dart — built-in profile definitions
  • Migration logic (likely in app init / AppState)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions