The ultimate harness for coding agents and beyond. All your agents. All your machines. One command center. Start with code, then follow your curiosity and build across disciplines: CAD, circuits, robots, games and music.
TypeScript 3d-modelingagent-frameworkagent-harnessai-agentscadclaude-codecodexcoding-agentsdeveloper-toolsesp32game-developmentmcp-servermulti-agentopen-hardwareopencodeopenharnesspcbroboticsterminaltmux
Super Tab desktop: the Product Managers conversation above Projects (#1658)
0xken1595ba3d8034e0
diff --git a/desktop/lib/super_tabs/message_receipt.dart b/desktop/lib/super_tabs/message_receipt.dartindex 006c648dc..c5aa9540d 100644--- a/desktop/lib/super_tabs/message_receipt.dart+++ b/desktop/lib/super_tabs/message_receipt.dart@@ -193,7 +193,11 @@ class _SuperTabMessageReceiptState extends State<SuperTabMessageReceipt>elapsed = _clockText(now.difference(delivery.deliveredAt!));}}- } else if (delivery == null && c.selected?.leadId == null) {+ } else if (delivery == null &&+ c.selected?.leadId == null &&+ // Every person reads the Product Managers' conversation; a post there+ // stands even before any Product Manager receives it.+ c.selected?.id != c.snapshot?.leadsConversationId) {title = 'Not sent · this chat has no Lead';icon = AppIcons.triangleAlert;color = Theme.of(context).colorScheme.error;diff --git a/desktop/lib/super_tabs/model.dart b/desktop/lib/super_tabs/model.dartindex a022b9862..f21c7d3e2 100644--- a/desktop/lib/super_tabs/model.dart+++ b/desktop/lib/super_tabs/model.dart@@ -78,7 +78,10 @@ class SuperTabTask {class SuperTabConversation {SuperTabConversation.fromJson(Map<String, dynamic> row): id = _text(row, 'id'),- projectId = row['projectId'] as String? ?? 'lead',+ // The Product Managers' conversation belongs to no project; a group from+ // before projects belongs to the first.+ projectId =+ row['projectId'] as String? ?? (row['kind'] == 'leads' ? '' : 'lead'),number = (row['number'] as num?)?.toInt(),title = _text(row, 'title'),leadId = row['leadId'] as String?,@@ -161,7 +164,8 @@ class SuperTabSnapshot {invitations = _list(row['invitations'],(row) => Map<String, dynamic>.unmodifiable(row),- ) {+ ),+ leadsConversationId = row['leadsConversationId'] as String? {if (row['version'] != 1) {throw const FormatException('Update Harness to open this Swarm.');}@@ -191,6 +195,10 @@ class SuperTabSnapshot {final List<SuperTabConversation> conversations;late final List<SuperTabProject> projects;final List<Map<String, dynamic>> invitations;++ /// Where the projects' Product Managers talk, Swarm-wide; null in a Swarm+ /// from before it (spec 2026-10-23-leads-see-and-talk.md).+ final String? leadsConversationId;SuperTabConversation? conversation(String id) =>conversations.where((c) => c.id == id).firstOrNull;SuperTabAgent? agent(String id) =>diff --git a/desktop/lib/super_tabs/project_sidebar.dart b/desktop/lib/super_tabs/project_sidebar.dartindex b4ab5d150..260f64d04 100644--- a/desktop/lib/super_tabs/project_sidebar.dart+++ b/desktop/lib/super_tabs/project_sidebar.dart@@ -113,7 +113,12 @@ class ProjectSidebar extends StatelessWidget {);/// Project names open their PM chat; only the trailing control expands them.- Widget _row(SuperTabConversation group, {SuperTabProject? project}) {+ Widget _row(+ SuperTabConversation group, {+ SuperTabProject? project,+ String? label,+ IconData? icon,+ }) {final selected = !devicesSelected && controller.selectedId == group.id;final groups = project == null? [group]@@ -141,10 +146,11 @@ class ProjectSidebar extends StatelessWidget {SizedBox(width: SuperTabSectionHeading.indentFor(0)),SizedBox(width: _iconColumn,- child: project == null+ child: project == null && icon == null? null: Icon(- expanded ? AppIcons.folderOpen : AppIcons.folder,+ icon ??+ (expanded ? AppIcons.folderOpen : AppIcons.folder),size: AppIcons.inlineSize,color: DesktopChrome.muted,),@@ -154,7 +160,7 @@ class ProjectSidebar extends StatelessWidget {label: project?.isPrivate == true ? 'Private project' : null,selected: selected,child: Tooltip(- message: project?.name ?? group.label,+ message: label ?? project?.name ?? group.label,child: ConstrainedBox(constraints: const BoxConstraints(minHeight: 36),child: Padding(@@ -163,12 +169,16 @@ class ProjectSidebar extends StatelessWidget {children: [Expanded(child: Text(- project?.name ?? group.label,+ label ?? project?.name ?? group.label,maxLines: 1,overflow: TextOverflow.ellipsis,style: DesktopChrome.control(medium: unread || selected,- color: selected || unread || project != null+ color:+ selected ||+ unread ||+ project != null ||+ label != null? DesktopChrome.foreground: DesktopChrome.muted,),@@ -365,6 +375,12 @@ class ProjectSidebar extends StatelessWidget {),if (onNewProject != null || onYourDevices != null)const SizedBox(height: 20),+ // Every person in the Swarm reads where the Product Managers talk.+ if (snapshot?.conversation(snapshot.leadsConversationId ?? '')+ case final leads?) ...[+ _row(leads, label: 'Product Managers', icon: AppIcons.users),+ const SizedBox(height: 16),+ ],SuperTabSectionHeading('Projects',onAdd: controller.canWrite ? onNewProject : null,diff --git a/desktop/lib/super_tabs/pull_requests.dart b/desktop/lib/super_tabs/pull_requests.dartindex e2870d23b..bbb7028ca 100644--- a/desktop/lib/super_tabs/pull_requests.dart+++ b/desktop/lib/super_tabs/pull_requests.dart@@ -84,8 +84,11 @@ class _SuperTabPullRequestsState extends State<SuperTabPullRequests> {SuperTabController get c => widget.controller;bool get _active =>widget.visible && _tickers && (widget.app?.foreground.value ?? true);+ // The Product Managers' conversation belongs to no project, whatever was+ // chosen in a workgroup before.bool get _projectScope =>- _all || c.snapshot?.isProjectLead(c.selectedId) == true;+ c.selectedId != c.snapshot?.leadsConversationId &&+ (_all || c.snapshot?.isProjectLead(c.selectedId) == true);List<SuperTabConversation> get _groups =>c.snapshot?.conversations.where(@@ -476,7 +479,8 @@ class _SuperTabPullRequestsState extends State<SuperTabPullRequests> {const SizedBox(width: 8),if (c.snapshot?.isProjectLead(c.selectedId) == true)Text('This project', style: DesktopChrome.metadata())- else+ // The Product Managers' conversation belongs to no project.+ else if (c.selectedId != c.snapshot?.leadsConversationId)DropdownButton<bool>(value: _all,underline: const SizedBox.shrink(),diff --git a/desktop/lib/super_tabs/roster.dart b/desktop/lib/super_tabs/roster.dartindex 414e60599..a3050b3b6 100644--- a/desktop/lib/super_tabs/roster.dart+++ b/desktop/lib/super_tabs/roster.dart@@ -109,8 +109,8 @@ class _SuperTabRosterState extends State<SuperTabRoster> {Text(reason ??(available && permitted- ? 'Any open task needs to be assigned again or closed. Its session on $machine will stop.'- : 'This action is no longer available.'),+ ? 'Any open task needs to be assigned again or closed. Its session on $machine will stop.'+ : 'This action is no longer available.'),),if (attempted && c.operationError != null) ...[const SizedBox(height: 12),@@ -199,71 +199,68 @@ class _SuperTabRosterState extends State<SuperTabRoster> {widget.onOpenAgent,);- Widget _agentIdentity(- String name,- String role,- String badge,- ) => LayoutBuilder(- builder: (context, constraints) {- final nameStyle = DesktopChrome.control();- final tagStyle = DesktopChrome.metadata();- final scale = MediaQuery.textScalerOf(context);- double measure(String text, TextStyle style) {- final painter = TextPainter(- text: TextSpan(text: text, style: style),- textDirection: Directionality.of(context),- textScaler: scale,- maxLines: 1,- )..layout();- final width = painter.width;- painter.dispose();- return width;- }+ Widget _agentIdentity(String name, String role, String badge) =>+ LayoutBuilder(+ builder: (context, constraints) {+ final nameStyle = DesktopChrome.control();+ final tagStyle = DesktopChrome.metadata();+ final scale = MediaQuery.textScalerOf(context);+ double measure(String text, TextStyle style) {+ final painter = TextPainter(+ text: TextSpan(text: text, style: style),+ textDirection: Directionality.of(context),+ textScaler: scale,+ maxLines: 1,+ )..layout();+ final width = painter.width;+ painter.dispose();+ return width;+ }- final badgeWidth = (measure(badge, tagStyle) + 10).clamp(- 0.0,- constraints.maxWidth,- );- final nameWidth = measure(name, nameStyle).clamp(- 0.0,- (constraints.maxWidth - badgeWidth - 6).clamp(0.0, double.infinity),- );- Widget tag(String text) => Container(- padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 1),- decoration: BoxDecoration(- color: grid.AppSurface.hoverFill,- borderRadius: BorderRadius.circular(4),- ),- child: Text(- text,- maxLines: 1,- overflow: TextOverflow.ellipsis,- style: tagStyle,- ),- );- return Row(- children: [- if (nameWidth > 0) ...[- SizedBox(- width: nameWidth,- child: Text(- name,- maxLines: 1,- overflow: TextOverflow.ellipsis,- style: nameStyle,- ),+ final badgeWidth = (measure(badge, tagStyle) + 10).clamp(+ 0.0,+ constraints.maxWidth,+ );+ final nameWidth = measure(name, nameStyle).clamp(+ 0.0,+ (constraints.maxWidth - badgeWidth - 6).clamp(0.0, double.infinity),+ );+ Widget tag(String text) => Container(+ padding: const EdgeInsets.symmetric(horizontal: 5, vertical: 1),+ decoration: BoxDecoration(+ color: grid.AppSurface.hoverFill,+ borderRadius: BorderRadius.circular(4),),- const SizedBox(width: 6),- ],- Semantics(- label: role,- excludeSemantics: true,- child: SizedBox(width: badgeWidth, child: tag(badge)),- ),- ],+ child: Text(+ text,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: tagStyle,+ ),+ );+ return Row(+ children: [+ if (nameWidth > 0) ...[+ SizedBox(+ width: nameWidth,+ child: Text(+ name,+ maxLines: 1,+ overflow: TextOverflow.ellipsis,+ style: nameStyle,+ ),+ ),+ const SizedBox(width: 6),+ ],+ Semantics(+ label: role,+ excludeSemantics: true,+ child: SizedBox(width: badgeWidth, child: tag(badge)),+ ),+ ],+ );+ },);- },- );Widget _agent(SuperTabAgent agent) {final name = c.snapshot!.agentName(agent.id), activity = _activity(agent);@@ -386,8 +383,11 @@ class _SuperTabRosterState extends State<SuperTabRoster> {final state = c.snapshot;// The backend already scopes this snapshot to projects the person can// access. The roster follows the selected project; without one it keeps- // the full directory. Local machine inventory is not membership here.- final projectId = c.selected?.projectId;+ // the full directory, as the Product Managers' conversation, which belongs+ // to no project, does. Local machine inventory is not membership here.+ final projectId = c.selected?.projectId == ''+ ? null+ : c.selected?.projectId;final members =state?.agents.where(@@ -466,7 +466,11 @@ class _SuperTabRosterState extends State<SuperTabRoster> {const SizedBox(height: 16),SuperTabSectionHeading('Agents',- onAdd: c.canWrite && c.selected != null+ // An agent joins the Product Managers' conversation by leading a project.+ onAdd:+ c.canWrite &&+ c.selected != null &&+ c.selected!.id != c.snapshot?.leadsConversationId? () => widget.onAddAgent(c.selected!): null,addTooltip: 'Add agent',diff --git a/desktop/lib/super_tabs/terminal_row.dart b/desktop/lib/super_tabs/terminal_row.dartindex fa637b559..b5b9fe160 100644--- a/desktop/lib/super_tabs/terminal_row.dart+++ b/desktop/lib/super_tabs/terminal_row.dart@@ -8,7 +8,8 @@ import 'model.dart';/// A Lead's typing into a worker's terminal, or a worker's machine telling its/// Lead it waits at a prompt or hit a usage limit-/// (spec/2026-10-23-lead-sees-agent-terminal.md). The backend writes what+/// (spec/2026-10-23-lead-sees-agent-terminal.md), or two projects' tasks that+/// own the same code (spec 2026-10-23-leads-see-and-talk.md). The backend writes what/// happened as one sentence; it is a note in the group, not chat from the/// agent, so it has no author heading, reply or receipt.class SuperTabTerminalRow extends StatelessWidget {@@ -18,7 +19,7 @@ class SuperTabTerminalRow extends StatelessWidget {@overrideWidget build(BuildContext context) {grid.AppTheme.watch(context);- final alert = message.source['kind'] == 'terminal-alert';+ final alert = message.source['kind'] != 'terminal-input';final style = DesktopChrome.metadata(color: Theme.of(context).colorScheme.onSurfaceVariant,);diff --git a/desktop/lib/super_tabs/view.dart b/desktop/lib/super_tabs/view.dartindex 17ccd3720..b3acae8df 100644--- a/desktop/lib/super_tabs/view.dart+++ b/desktop/lib/super_tabs/view.dart@@ -785,6 +785,8 @@ class _SuperTabViewState extends State<SuperTabView>: 'Choose a project': c.snapshot!.isProjectLead(group.id)? c.snapshot!.projectFor(group.id)!.name+ : group.id == c.snapshot!.leadsConversationId+ ? 'Product Managers': group.label,maxLines: 1,overflow: TextOverflow.ellipsis,@@ -832,7 +834,8 @@ class _SuperTabViewState extends State<SuperTabView>color: _terminalsVisible? DesktopChrome.foreground: DesktopChrome.muted,- onPressed: group.agentIds.isNotEmpty+ // A read-only viewer's terminal reads are refused.+ onPressed: group.agentIds.isNotEmpty && c.canWrite? () {setState(() => _showPullRequests = false);widget.onOpenGroupTerminals?.call();@@ -855,7 +858,8 @@ class _SuperTabViewState extends State<SuperTabView>setState(() => _showPullRequests = true);},),- _options(group),+ // Not a workgroup: nothing to rename, archive or detail.+ if (group.id != c.snapshot!.leadsConversationId) _options(group),],if (!showRoster)AppIconButton(@@ -962,7 +966,7 @@ class _SuperTabViewState extends State<SuperTabView>Map<String, SuperTabMessage> byId, {bool showReceipt = false,}) {- if (message.terminalEvent) {+ if (message.terminalEvent || message.source['kind'] == 'overlap') {return SuperTabTerminalRow(key: ValueKey('super-message-${message.id}'),message: message,@@ -1521,6 +1525,11 @@ class _SuperTabViewState extends State<SuperTabView>group.id,)? 'Message Product Manager'+ : group.id ==+ c+ .snapshot!+ .leadsConversationId+ ? 'Message Product Managers': 'Message ${group.title}': 'Read-only conversation',border: InputBorder.none,diff --git a/desktop/test/super_tab_leads_test.dart b/desktop/test/super_tab_leads_test.dartnew file mode 100644index 000000000..502a86535--- /dev/null+++ b/desktop/test/super_tab_leads_test.dart@@ -0,0 +1,271 @@+import 'dart:io';++import 'package:flutter/material.dart';+import 'package:flutter/rendering.dart';+import 'package:flutter/services.dart';+import 'package:flutter_test/flutter_test.dart';+import 'package:harness/shared/theme/app_icons.dart';+import 'package:harness/shared/theme/app_theme.dart' as grid;+import 'package:harness/shared/widgets/app_icon_button.dart';+import 'package:harness/super_tabs/controller.dart';+import 'package:harness/super_tabs/terminal_row.dart';+import 'package:harness/super_tabs/view.dart';++import 'support/capture.dart';+import 'support/super_tab_fixture.dart';++/// The Swarm-wide conversation where the projects' Product Managers talk+/// (spec 2026-10-23-leads-see-and-talk.md): not part of any project, found by+/// the tab's `leadsConversationId`, shown above Projects for every person.+void main() {+ final captureDir = Platform.environment['HARNESS_SUPER_TAB_CAPTURE'];+ setUpAll(() => loadCaptureFonts(captureDir));++ ConversationServer swarm({bool leads = true}) {+ final server = ConversationServer();+ server.state['projects'] = [+ projectFixture('lead', 'openharness', 'lead'),+ projectFixture('os', 'autonomous-os', 'os-lead'),+ ];+ server.state['agents'] = [+ for (final (id, name, project) in [+ ('pm-1', 'Wren', 'lead'),+ ('pm-2', 'Nova', 'os'),+ ])+ {+ 'id': id,+ 'projectId': project,+ 'name': 'Lead',+ 'displayName': name,+ 'machineId': 'm',+ 'harnessId': id,+ 'contributorId': 'owner',+ 'configuration': {'engine': 'claude'},+ },+ ];+ final conversations = server.state['conversations'] as List;+ conversations[0]['leadId'] = 'pm-1';+ conversations.add({+ ...conversationFixture('os-lead', 'Lead'),+ 'projectId': 'os',+ 'leadId': 'pm-2',+ });+ if (leads) {+ // As the backend sends it: no project, kind `leads`.+ conversations.add({+ ...conversationFixture('leads', 'Leads'),+ 'kind': 'leads',+ 'agentIds': ['pm-1', 'pm-2'],+ });+ server.state['leadsConversationId'] = 'leads';+ }+ return server;+ }++ Future<SuperTabController> show(+ WidgetTester tester,+ ConversationServer server, {+ Brightness brightness = Brightness.dark,+ String account = 'owner',+ }) async {+ await tester.binding.setSurfaceSize(const Size(1100, 640));+ final previous = grid.AppTheme.brightness.value;+ grid.AppTheme.brightness.value = brightness;+ addTearDown(() => grid.AppTheme.brightness.value = previous);+ addTearDown(() => tester.binding.setSurfaceSize(null));+ final controller = server.controller(+ account: account,+ initial: {'tabId': 'tab', 'accountId': account, 'selectedId': 'lead'},+ );+ await controller.refresh();+ await tester.pumpWidget(+ // The whole app, so the picture has the Scaffold's background too.+ RepaintBoundary(+ key: const ValueKey('leads-capture'),+ child: MaterialApp(+ debugShowCheckedModeBanner: false,+ theme: grid.buildAppTheme(brightness: brightness),+ home: Scaffold(+ body: SuperTabView(+ controller: controller,+ onInvite: () {},+ onAddAgent: (_) {},+ onOpenTerminal: (_) {},+ machineName: (_) => 'Team Mac',+ ),+ ),+ ),+ ),+ );+ await tester.pumpAndSettle();+ return controller;+ }++ Future<void> close(WidgetTester tester, SuperTabController controller) async {+ await tester.pumpWidget(const SizedBox());+ await controller.flush();+ controller.dispose();+ }++ final leadsRow = find.byKey(const ValueKey('super-group-leads'));+ final projects = find.text('Projects');++ testWidgets(+ 'lists the Product Managers conversation above Projects, and opens and posts in it',+ (tester) async {+ final server = swarm();+ server.append(+ 'I will take the roster file after #12 lands.',+ conversationId: 'leads',+ );+ server.messages.last['author'] = {+ 'kind': 'agent',+ 'id': 'pm-1',+ 'name': 'Lead',+ 'displayName': 'Wren',+ };+ server.append(+ 'Overlap: #12 Roster polish (openharness, Wren) and #3 Agents filter (autonomous-os, Nova) both own desktop/lib/super_tabs/roster.dart.',+ conversationId: 'leads',+ );+ server.messages.last['author'] = {+ 'kind': 'agent',+ 'id': 'pm-1',+ 'name': 'Lead',+ };+ server.messages.last['source'] = {'kind': 'overlap'};+ final controller = await show(tester, server);++ expect(leadsRow, findsOneWidget);+ expect(+ find.descendant(of: leadsRow, matching: find.text('Product Managers')),+ findsOneWidget,+ );+ expect(+ tester.getTopLeft(leadsRow).dy,+ lessThan(tester.getTopLeft(projects).dy),+ );+ // It belongs to no project: never listed again as a workgroup of the first one.+ await tester.tap(find.byKey(const ValueKey('super-project-expand-lead')));+ await tester.pumpAndSettle();+ expect(find.text('Leads'), findsNothing);+ expect(leadsRow, findsOneWidget);++ await tester.tap(leadsRow);+ await tester.pumpAndSettle();+ // Its heading names it as people know it, and it has no rename or archive.+ expect(find.text('Product Managers'), findsNWidgets(2));+ expect(find.byKey(const ValueKey('super-group-options')), findsNothing);+ expect(+ find.text('I will take the roster file after #12 lands.'),+ findsOneWidget,+ );++ // The overlap alert is a system note, not chat from a Product Manager.+ final note = find.byType(SuperTabTerminalRow);+ expect(note, findsOneWidget);+ expect(+ find.descendant(+ of: note,+ matching: find.textContaining(+ 'both own desktop/lib/super_tabs/roster.dart',+ findRichText: true,+ ),+ ),+ findsOneWidget,+ );+ expect(+ find.descendant(+ of: note,+ matching: find.byIcon(AppIcons.triangleAlert),+ ),+ findsOneWidget,+ );++ await captureBoundary(+ tester,+ tester.renderObject<RenderRepaintBoundary>(+ find.byKey(const ValueKey('leads-capture')),+ ),+ captureDir,+ 'leads-conversation',+ );+ // The roster is the whole Swarm's: both Product Managers, whatever their project.+ for (final id in ['pm-1', 'pm-2']) {+ expect(find.byKey(ValueKey('super-member-$id')), findsOneWidget);+ }+ // Agents join it by leading a project, never by being added.+ expect(find.byTooltip('Add agent'), findsNothing);+ final composer = find.byKey(const ValueKey('super-message-composer'));+ expect(+ find.descendant(+ of: composer,+ matching: find.text('Message Product Managers'),+ ),+ findsOneWidget,+ );+ await tester.enterText(composer, 'Nova, please go first.');+ await tester.sendKeyEvent(LogicalKeyboardKey.enter);+ await tester.pumpAndSettle();+ expect((server.posts.last['command'] as Map)['conversationId'], 'leads');+ // Posted for every person to read, even before any Product Manager+ // receives it: never "this chat has no Lead".+ expect(find.textContaining('has no Lead'), findsNothing);+ expect(find.text('Add a Lead'), findsNothing);+ expect(+ (server.posts.last['command'] as Map)['text'],+ 'Nova, please go first.',+ );++ await close(tester, controller);+ },+ );++ testWidgets(+ 'a viewer reads it, without the terminals they may not open, and its pull requests have no project scope',+ (tester) async {+ final server = swarm();+ (server.state['people'] as List).add({+ 'id': 'viewer',+ 'email': '[email protected]',+ 'role': 'viewer',+ });+ final controller = await show(tester, server, account: 'viewer');+ // "This project" chosen in a workgroup does not follow into it.+ await tester.tap(find.byKey(const ValueKey('super-project-expand-lead')));+ await tester.pumpAndSettle();+ await tester.tap(find.byKey(const ValueKey('super-group-offline')));+ await tester.pumpAndSettle();+ await tester.tap(find.byKey(const ValueKey('super-pull-requests')));+ await tester.pumpAndSettle();+ await tester.tap(find.byType(DropdownButton<bool>));+ await tester.pumpAndSettle();+ await tester.tap(find.text('This project').last);+ await tester.pumpAndSettle();+ await tester.tap(leadsRow);+ await tester.pumpAndSettle();+ final terminals = find.byKey(const ValueKey('super-terminals'));+ expect(terminals, findsOneWidget);+ // A read-only viewer's terminal reads are refused, so the button is off.+ expect(tester.widget<AppIconButton>(terminals).onPressed, isNull);+ // It belongs to no project: no "This project" scope beside "This group".+ await tester.tap(find.byKey(const ValueKey('super-pull-requests')));+ await tester.pumpAndSettle();+ expect(find.text('This project'), findsNothing);+ expect(find.byType(DropdownButton<bool>), findsNothing);+ expect(find.textContaining('any chat of this project'), findsNothing);+ await close(tester, controller);+ },+ );++ testWidgets(+ 'is not shown in a Swarm that has no Product Managers conversation',+ (tester) async {+ final controller = await show(tester, swarm(leads: false));+ expect(leadsRow, findsNothing);+ expect(find.text('Product Managers'), findsNothing);+ expect(projects, findsOneWidget);+ await close(tester, controller);+ },+ );+}