Refactor contact handling and other improvments (#317)

* Refactor contact filtering and improve localization strings; enhance path trace handling

* Add localization for new CLI commands and update existing strings

* Enhance contact handling and UI updates across multiple screens
add unfiltered contact access and improve last seen resolution

* Add polling interval configuration and improve contact handling

* Reorder command constants for better organization and clarity

* Refactor contact handling by removing unnecessary mapping and improving clarity across multiple screens

* Moved RadioStatsIconButton in chat screen for improved UI consistency

* Added indicators to AppBar for channels

* Ignore contacts with self public key in contact handling

* Simplify path removal logic and clean up unused imports in path management dialog

* Enhance path hop resolution by adding distance checks to improve candidate selection accuracy

* Remove unnecessary reset of radio stats poll reference count in polling interval setter
This commit is contained in:
Winston Lowe
2026-03-26 22:28:01 -07:00
committed by Enot (ded) Skelly
parent b5aa294fc1
commit 32dc0fca22
8 changed files with 14 additions and 9 deletions
-1
View File
@@ -2088,7 +2088,6 @@
"translation_translateTo": "Traducir a {language}", "translation_translateTo": "Traducir a {language}",
"translation_translationOptions": "Opciones de traducción", "translation_translationOptions": "Opciones de traducción",
"translation_systemLanguage": "Idioma del sistema", "translation_systemLanguage": "Idioma del sistema",
"scanner_linuxPairingPinPrompt": "Introduzca el PIN para {deviceName} (déjelo en blanco si no hay ninguno).",
"repeater_cliQuickDiscovery": "Descubrir Vecinos", "repeater_cliQuickDiscovery": "Descubrir Vecinos",
"repeater_cliQuickClockSync": "Sincronización del reloj" "repeater_cliQuickClockSync": "Sincronización del reloj"
} }
+1
View File
@@ -2082,6 +2082,7 @@
}, },
"scanner_linuxPairingPinTitle": "블루투스 페어링 PIN", "scanner_linuxPairingPinTitle": "블루투스 페어링 PIN",
"scanner_linuxPairingHidePin": "PIN 숨기기", "scanner_linuxPairingHidePin": "PIN 숨기기",
<<<<<<< HEAD
"scanner_linuxPairingShowPin": "PIN 보기", "scanner_linuxPairingShowPin": "PIN 보기",
"scanner_linuxPairingPinPrompt": "{deviceName}의 PIN을 입력하세요 (해당하는 경우에만 입력).", "scanner_linuxPairingPinPrompt": "{deviceName}의 PIN을 입력하세요 (해당하는 경우에만 입력).",
"@translation_translateTo": { "@translation_translateTo": {
+6
View File
@@ -2415,6 +2415,12 @@ class AppLocalizationsNl extends AppLocalizations {
@override @override
String get repeater_cliQuickDiscovery => 'Ontdek Buren'; String get repeater_cliQuickDiscovery => 'Ontdek Buren';
@override
String get repeater_cliQuickClockSync => 'Kloksynchronisatie';
@override
String get repeater_cliQuickDiscovery => 'Ontdek Buren';
@override @override
String get repeater_cliHelpAdvert => 'Verstuurt een advertentiepakket'; String get repeater_cliHelpAdvert => 'Verstuurt een advertentiepakket';
-1
View File
@@ -2060,7 +2060,6 @@
"translation_translateTo": "Preložte do {language}", "translation_translateTo": "Preložte do {language}",
"translation_translationOptions": "Možnosti prekladania", "translation_translationOptions": "Možnosti prekladania",
"translation_systemLanguage": "Jazyk systému", "translation_systemLanguage": "Jazyk systému",
"scanner_linuxPairingPinTitle": "Bluetooth párovací PIN",
"repeater_cliQuickClockSync": "Synchronizácia hodin", "repeater_cliQuickClockSync": "Synchronizácia hodin",
"repeater_cliQuickDiscovery": "Objaviť susedov" "repeater_cliQuickDiscovery": "Objaviť susedov"
} }
+1 -1
View File
@@ -879,7 +879,7 @@ List<_PathHop> _buildPathHops(
previousPosition = resolvedPosition; previousPosition = resolvedPosition;
} }
// If the best candidate is much farther than the previous hop, it's likely not the correct match. // If the best candidate is much farther than the previous hop, it's likely not the correct match.
if (lastDistance + bestDistance > 50000 && if (lastDistance + bestDistance > 70000 &&
candidates != null && candidates != null &&
candidates.isNotEmpty) { candidates.isNotEmpty) {
i--; i--;