Connect a radio: one page with Bluetooth, USB and TCP tabs

Replace the scanner, USB and TCP screens with one page and a tab for
each, so the design and the connection options are consistent. Fixes
#699, where the USB screen's Bluetooth button went back to the main
screens instead of the scanner.

The "Need a new node?" banner shows on every tab, with a close button
that hides it until the page is opened again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
celsoazevedoandClaude Opus 5.5 committed 2026-11-26 08:57:32 +00:00
1 parent 86b3e252c6
commit 9104b4a60a
60 files changed
+989 -1474

No files matched your search

+4 -26
View File
@@ -181,9 +181,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get common_interval => 'Interval';
@override
String get scanner_title => 'MeshCore Open';
@override
String get connectionChoiceUsbLabel => 'USB';
@@ -193,9 +190,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get connectionChoiceTcpLabel => 'TCP';
@override
String get tcpScreenTitle => 'Připojení přes TCP';
@override
String get tcpHostLabel => 'Koncový bod';
@@ -208,14 +202,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get tcpPortHint => '5000';
@override
String get tcpStatus_notConnected => 'Zadejte koncový bod a připojte se';
@override
String tcpStatus_connectingTo(String endpoint) {
return 'Připojování k $endpoint...';
}
@override
String get tcpErrorHostRequired => 'Hostitel je povinný.';
@@ -234,9 +220,6 @@ class AppLocalizationsCs extends AppLocalizations {
return 'Připojení TCP se nezdařilo: $error';
}
@override
String get usbScreenTitle => 'Připojení přes USB';
@override
String get usbScreenSubtitle =>
'Vyberte rozpoznané sériové zařízení a připojte se přímo ke svému uzlu MeshCore.';
@@ -252,6 +235,10 @@ class AppLocalizationsCs extends AppLocalizations {
String get usbScreenEmptyState =>
'Nebyla nalezena žádná zařízení USB. Připojte nějaké a obnovte.';
@override
String get usbScreenEmptyStateAuto =>
'Nebyla nalezena žádná zařízení USB. Připojte nějaké a zobrazí se zde.';
@override
String get usbErrorPermissionDenied => 'Oprávnění k USB bylo odepřeno.';
@@ -295,12 +282,6 @@ class AppLocalizationsCs extends AppLocalizations {
@override
String get usbFallbackDeviceName => 'Zařízení Web Serial';
@override
String get usbStatus_notConnected => 'Vyberte zařízení USB';
@override
String get usbStatus_connecting => 'Připojování k zařízení USB...';
@override
String get usbStatus_searching => 'Hledání zařízení USB...';
@@ -7356,9 +7337,6 @@ class AppLocalizationsCs extends AppLocalizations {
return 'ID: $id…';
}
@override
String get tcpSectionTitle => 'TCP / IP';
@override
String get tcpConnectedToHeader => 'Připojeno k';