From 97508da43b939ee45d0721e7a626e6696b3498d9 Mon Sep 17 00:00:00 2001 From: Andrej Velichkovski Date: Wed, 8 May 2024 12:38:08 +0200 Subject: [PATCH 1/2] Change rerun button order --- frontend/lib/ui/artefact_page/test_execution_expandable.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/lib/ui/artefact_page/test_execution_expandable.dart b/frontend/lib/ui/artefact_page/test_execution_expandable.dart index 33842b71..2f6c2bc5 100644 --- a/frontend/lib/ui/artefact_page/test_execution_expandable.dart +++ b/frontend/lib/ui/artefact_page/test_execution_expandable.dart @@ -58,13 +58,14 @@ class _TestExecutionTileTitle extends StatelessWidget { if (!testExecution.status.isCompleted) const SizedBox(width: 36.0), testExecution.status.icon, const SizedBox(width: Spacing.level2), - _RerunButton(testExecution: testExecution), const SizedBox(width: Spacing.level2), Text( testExecution.environment.name, style: Theme.of(context).textTheme.titleLarge, ), const Spacer(), + _RerunButton(testExecution: testExecution), + const SizedBox(width: Spacing.level4), TestExecutionReviewButton(testExecution: testExecution), const SizedBox(width: Spacing.level4), if (ciLink != null) From 3082e05501db47863ee900bc3624ad4dffa7b45e Mon Sep 17 00:00:00 2001 From: Andrej Velichkovski Date: Wed, 8 May 2024 12:57:16 +0200 Subject: [PATCH 2/2] Restore spacing --- frontend/lib/ui/artefact_page/test_execution_expandable.dart | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frontend/lib/ui/artefact_page/test_execution_expandable.dart b/frontend/lib/ui/artefact_page/test_execution_expandable.dart index 2f6c2bc5..684feebb 100644 --- a/frontend/lib/ui/artefact_page/test_execution_expandable.dart +++ b/frontend/lib/ui/artefact_page/test_execution_expandable.dart @@ -57,15 +57,14 @@ class _TestExecutionTileTitle extends StatelessWidget { children: [ if (!testExecution.status.isCompleted) const SizedBox(width: 36.0), testExecution.status.icon, - const SizedBox(width: Spacing.level2), - const SizedBox(width: Spacing.level2), + const SizedBox(width: Spacing.level4), Text( testExecution.environment.name, style: Theme.of(context).textTheme.titleLarge, ), const Spacer(), _RerunButton(testExecution: testExecution), - const SizedBox(width: Spacing.level4), + const SizedBox(width: Spacing.level3), TestExecutionReviewButton(testExecution: testExecution), const SizedBox(width: Spacing.level4), if (ciLink != null)