Drop the drone status panel's title bar, default the grid to 3 columns

The title row cost a full line of vertical space for a redundant
label. The close button now floats over the tab row instead, which
reserves 48px on its right so "System Messages" doesn't sit under it.
Also replaced the manually grouped 2/3-column row layout with uniform
3-per-row chunking of a flat field list, matching the user's request
to default to three fields per row.
This commit is contained in:
Constantin Leue
2026-08-07 23:03:43 +02:00
parent e9a5b3ea0b
commit 03c24b830e
2 changed files with 96 additions and 112 deletions
+2 -1
View File
@@ -30,6 +30,7 @@ import 'package:dmc_app/ui/providers/system_message_log_provider.dart';
import 'package:dmc_app/ui/providers/telemetry_provider.dart';
import 'package:dmc_app/transport/mock/mock_flight_controller_link.dart';
import 'package:dmc_app/ui/widgets/drone_follow_icon.dart';
import 'package:dmc_app/ui/widgets/drone_status_messages_panel.dart';
import 'package:dmc_app/ui/widgets/full_value_chart.dart';
import 'package:dmc_app/ui/widgets/halo_menu.dart';
import 'package:dmc_app/ui/widgets/header_wind_pill.dart';
@@ -1160,7 +1161,7 @@ void main() {
// steht im Widget-Baum zuerst.
await tester.tap(find.byType(PaperPlaneIcon).first);
await tester.pumpAndSettle();
expect(find.text('Drone Status & System Messages'), findsOneWidget);
expect(find.byType(DroneStatusMessagesPanel), findsOneWidget);
await tester.tap(find.text('System Messages'));
await tester.pumpAndSettle();