Show the routing key prefix on each contact

Contacts now show the first path-hash-width bytes of their public key as
a monospace badge before the path label, so they can be matched to hops
in routing paths and told apart. The width follows the radio's path hash
size setting.
This commit is contained in:
zjs81 committed 2026-10-24 20:59:59 -07:00
1 parent 4c9705b3cb
commit c296597a2d
24 files changed
+253 -2

No files matched your search

+2
View File
@@ -3437,6 +3437,8 @@
"@repeater_prvKeyLengthError": {"placeholders": {"length": {"type": "int"}}},
"contacts_advertFailed": "Couldn't send advertisement",
"contacts_manageGroups": "Manage groups",
"contacts_keyPrefixSemantics": "Key prefix {prefix}",
"@contacts_keyPrefixSemantics": {"placeholders": {"prefix": {"type": "String"}}},
"community_shortId": "ID: {id}…",
"@community_shortId": {"placeholders": {"id": {"type": "String"}}},
"tcpSectionTitle": "TCP / IP",
+6
View File
@@ -10333,6 +10333,12 @@ abstract class AppLocalizations {
/// **'Manage groups'**
String get contacts_manageGroups;
/// No description provided for @contacts_keyPrefixSemantics.
///
/// In en, this message translates to:
/// **'Key prefix {prefix}'**
String contacts_keyPrefixSemantics(String prefix);
/// No description provided for @community_shortId.
///
/// In en, this message translates to:
+5
View File
@@ -6166,6 +6166,11 @@ class AppLocalizationsBg extends AppLocalizations {
@override
String get contacts_manageGroups => 'Управление на групи';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6181,6 +6181,11 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gruppen verwalten';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6080,6 +6080,11 @@ class AppLocalizationsEn extends AppLocalizations {
@override
String get contacts_manageGroups => 'Manage groups';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6169,6 +6169,11 @@ class AppLocalizationsEs extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gestionar grupos';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6194,6 +6194,11 @@ class AppLocalizationsFr extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gérer les groupes';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID : $id…';
+5
View File
@@ -6157,6 +6157,11 @@ class AppLocalizationsHu extends AppLocalizations {
@override
String get contacts_manageGroups => 'Csoportok kezelése';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6176,6 +6176,11 @@ class AppLocalizationsIt extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gestisci gruppi';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -5878,6 +5878,11 @@ class AppLocalizationsJa extends AppLocalizations {
@override
String get contacts_manageGroups => 'グループを管理';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -5888,6 +5888,11 @@ class AppLocalizationsKo extends AppLocalizations {
@override
String get contacts_manageGroups => '그룹 관리';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6136,6 +6136,11 @@ class AppLocalizationsNl extends AppLocalizations {
@override
String get contacts_manageGroups => 'Groepen beheren';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6200,6 +6200,11 @@ class AppLocalizationsPl extends AppLocalizations {
@override
String get contacts_manageGroups => 'Zarządzaj grupami';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6165,6 +6165,11 @@ class AppLocalizationsPt extends AppLocalizations {
@override
String get contacts_manageGroups => 'Gerenciar grupos';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6186,6 +6186,11 @@ class AppLocalizationsRu extends AppLocalizations {
@override
String get contacts_manageGroups => 'Управление группами';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6148,6 +6148,11 @@ class AppLocalizationsSk extends AppLocalizations {
@override
String get contacts_manageGroups => 'Spravovať skupiny';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6150,6 +6150,11 @@ class AppLocalizationsSl extends AppLocalizations {
@override
String get contacts_manageGroups => 'Upravljaj skupine';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6116,6 +6116,11 @@ class AppLocalizationsSv extends AppLocalizations {
@override
String get contacts_manageGroups => 'Hantera grupper';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -6188,6 +6188,11 @@ class AppLocalizationsUk extends AppLocalizations {
@override
String get contacts_manageGroups => 'Керування групами';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID: $id…';
+5
View File
@@ -5744,6 +5744,11 @@ class AppLocalizationsZh extends AppLocalizations {
@override
String get contacts_manageGroups => '管理分组';
@override
String contacts_keyPrefixSemantics(String prefix) {
return 'Key prefix $prefix';
}
@override
String community_shortId(String id) {
return 'ID:$id…';