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)
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
lib/models/node_profile.dartto match the current deflock.me website listings (better tag sets, possibly new profiles)Migrate existing users
Relates to
Files likely affected
lib/models/node_profile.dart— built-in profile definitionsAppState)