Skip to content

Commit

Permalink
Update frontend with test count on the left side
Browse files Browse the repository at this point in the history
  • Loading branch information
andrejvelichkovski committed Nov 28, 2023
1 parent 27c74b4 commit 1545083
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions frontend/lib/ui/dashboard/testresults_components.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ class GroupTestResultView extends StatelessWidget {

@override
Widget build(BuildContext context) {
final testCountText = '(${groupTestResults.length})';

return YaruExpandable(
header: Row(
children: [
Expand All @@ -25,9 +27,9 @@ class GroupTestResultView extends StatelessWidget {
testResultStatus.name,
style: Theme.of(context).textTheme.titleLarge,
),
const Spacer(),
const SizedBox(width: Spacing.level2),
Text(
groupTestResults.length.toString(),
testCountText,
style: Theme.of(context).textTheme.titleLarge,
),
],
Expand Down

0 comments on commit 1545083

Please sign in to comment.