Add contact settings and discovery features

- Implemented contact settings in localization files for Swedish, Ukrainian, and Chinese.
- Added new DiscoveryContact model to handle discovered contacts.
- Created DiscoveryScreen to display discovered contacts with filtering and sorting options.
- Integrated contact discovery storage to persist discovered contacts.
- Updated settings screen to include options for automatic contact addition.
- Enhanced app bar and list filter widgets for better user experience.
- Fixed variable naming inconsistencies in contact model.
This commit is contained in:
Winston Lowe
2026-02-28 19:11:11 -08:00
parent e139383335
commit 75610695c2
28 changed files with 1958 additions and 41 deletions
+108
View File
@@ -544,6 +544,18 @@ abstract class AppLocalizations {
/// **'Longitude'**
String get settings_longitude;
/// No description provided for @settings_contactSettings.
///
/// In en, this message translates to:
/// **'Contact Settings'**
String get settings_contactSettings;
/// No description provided for @settings_contactSettingsSubtitle.
///
/// In en, this message translates to:
/// **'Settings for how contacts are added.'**
String get settings_contactSettingsSubtitle;
/// No description provided for @settings_privacyMode.
///
/// In en, this message translates to:
@@ -5380,6 +5392,102 @@ abstract class AppLocalizations {
/// In en, this message translates to:
/// **'Last seen'**
String get snrIndicator_lastSeen;
/// No description provided for @contactsSettings_title.
///
/// In en, this message translates to:
/// **'Contacts settings'**
String get contactsSettings_title;
/// No description provided for @contactsSettings_autoAddTitle.
///
/// In en, this message translates to:
/// **'Automatic Discovery'**
String get contactsSettings_autoAddTitle;
/// No description provided for @contactsSettings_otherTitle.
///
/// In en, this message translates to:
/// **'Other contact related settings'**
String get contactsSettings_otherTitle;
/// No description provided for @contactsSettings_autoAddUsersTitle.
///
/// In en, this message translates to:
/// **'Auto-add users'**
String get contactsSettings_autoAddUsersTitle;
/// No description provided for @contactsSettings_autoAddUsersSubtitle.
///
/// In en, this message translates to:
/// **'Allow the companion to automatically add discovered users.'**
String get contactsSettings_autoAddUsersSubtitle;
/// No description provided for @contactsSettings_autoAddRepeatersTitle.
///
/// In en, this message translates to:
/// **'Auto-add repeaters'**
String get contactsSettings_autoAddRepeatersTitle;
/// No description provided for @contactsSettings_autoAddRepeatersSubtitle.
///
/// In en, this message translates to:
/// **'Allow the companion to automatically add discovered repeaters.'**
String get contactsSettings_autoAddRepeatersSubtitle;
/// No description provided for @contactsSettings_autoAddRoomServersTitle.
///
/// In en, this message translates to:
/// **'Auto-add room servers'**
String get contactsSettings_autoAddRoomServersTitle;
/// No description provided for @contactsSettings_autoAddRoomServersSubtitle.
///
/// In en, this message translates to:
/// **'Allow the companion to automatically add discovered room servers.'**
String get contactsSettings_autoAddRoomServersSubtitle;
/// No description provided for @contactsSettings_autoAddSensorsTitle.
///
/// In en, this message translates to:
/// **'Auto-add sensors'**
String get contactsSettings_autoAddSensorsTitle;
/// No description provided for @contactsSettings_autoAddSensorsSubtitle.
///
/// In en, this message translates to:
/// **'Allow the companion to automatically add discovered sensors.'**
String get contactsSettings_autoAddSensorsSubtitle;
/// No description provided for @contactsSettings_overwriteOldestTitle.
///
/// In en, this message translates to:
/// **'Overwrite Oldest'**
String get contactsSettings_overwriteOldestTitle;
/// No description provided for @contactsSettings_overwriteOldestSubtitle.
///
/// In en, this message translates to:
/// **'When enabled, the companion will overwrite the oldest contact not favoriteited when the contact list is full.'**
String get contactsSettings_overwriteOldestSubtitle;
/// No description provided for @discoveredContacts_Title.
///
/// In en, this message translates to:
/// **'Discovered Contacts'**
String get discoveredContacts_Title;
/// No description provided for @discoveredContacts_noMatching.
///
/// In en, this message translates to:
/// **'No matching contacts'**
String get discoveredContacts_noMatching;
/// No description provided for @discoveredContacts_searchHint.
///
/// In en, this message translates to:
/// **'Search discovered contacts'**
String get discoveredContacts_searchHint;
}
class _AppLocalizationsDelegate