Skip to content

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.

New Harness: the Recent projects menu is twice as wide, so paths can be read

deehw37a6b402e275
diff --git a/desktop/lib/shared/widgets/app_select_field.dart b/desktop/lib/shared/widgets/app_select_field.dart
index 0018004dd..1b6773487 100644
--- a/desktop/lib/shared/widgets/app_select_field.dart
+++ b/desktop/lib/shared/widgets/app_select_field.dart
@@ -73,6 +73,7 @@ class AppSelectField<T> extends StatefulWidget {
required this.onChanged,
this.width,
this.menuWidth,
+ this.menuAlignedToEnd = false,
this.height = AppControl.height,
this.padding = const EdgeInsets.only(left: 10, right: 8),
this.trigger,
@@ -96,6 +97,11 @@ class AppSelectField<T> extends StatefulWidget {
/// does — a name, a second line and a mark want room to be read at a
/// glance. Never narrower than the field itself.
final double? menuWidth;
+
+ /// A menu wider than its field lines up with the field's END edge and
+ /// grows toward the start — for a field at the right of a row, whose menu
+ /// would otherwise run past the dialog it sits in.
+ final bool menuAlignedToEnd;
final double height;
final EdgeInsetsGeometry padding;
@@ -511,7 +517,12 @@ class _AppSelectFieldState<T> extends State<AppSelectField<T>> {
},
// Below the control, by the app's one menu gap — and the panel takes its
// fill, rim and radius from [AppMenu], the app's single panel recipe.
- alignmentOffset: const Offset(0, AppControl.menuGap),
+ alignmentOffset: Offset(
+ widget.menuAlignedToEnd
+ ? math.min(0, (panelWidth ?? 0) - _rowWidth(panelWidth))
+ : 0,
+ AppControl.menuGap,
+ ),
// ⚠️ The width is set on the ROWS, not with `MenuStyle.minimumSize`.
//
// `minimumSize` does widen the panel, but `MenuAnchor` lays its children
diff --git a/desktop/lib/widgets/new_agent_project_picker.dart b/desktop/lib/widgets/new_agent_project_picker.dart
index 4eafd90e0..b122eac29 100644
--- a/desktop/lib/widgets/new_agent_project_picker.dart
+++ b/desktop/lib/widgets/new_agent_project_picker.dart
@@ -245,6 +245,12 @@ class _NewAgentProjectPickerState extends State<NewAgentProjectPicker> {
value: selectedRecent ? _folder ?? '' : '',
options: recent,
width: widget.tileSize.width,
+ // Twice the tile: recent projects share a parent folder, and
+ // the path under each name is what tells them apart (owner,
+ // 2026-09-17: "all folders look the same"). Opens leftward
+ // from the row's last tile.
+ menuWidth: widget.tileSize.width * 2,
+ menuAlignedToEnd: true,
height: widget.tileSize.height,
padding: AppChoiceTile.padding,
selected: selectedRecent,