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.

Give the New Tab search field more height

dee021ef72939c6
diff --git a/desktop/lib/widgets/harness_start_page.dart b/desktop/lib/widgets/harness_start_page.dart
index c452eb215..86b5b054b 100644
--- a/desktop/lib/widgets/harness_start_page.dart
+++ b/desktop/lib/widgets/harness_start_page.dart
@@ -127,7 +127,7 @@ class _HarnessStartPageState extends State<HarnessStartPage> {
elevation: _showResults ? 12 : 0,
shadowColor: Colors.black54,
shape: RoundedRectangleBorder(
- borderRadius: BorderRadius.circular(_showResults ? 12 : 30),
+ borderRadius: BorderRadius.circular(_showResults ? 12 : 999),
side: _showResults
? const BorderSide(color: Colors.white24)
: BorderSide.none,
@@ -160,7 +160,7 @@ class _HarnessStartPageState extends State<HarnessStartPage> {
showClose: _showResults,
hintText: 'Find a harness',
rounded: true,
- compact: true,
+ prominent: true,
),
),
if (_showResults) ...[
diff --git a/desktop/lib/widgets/swarm_search_input.dart b/desktop/lib/widgets/swarm_search_input.dart
index 644ca1d47..64c5c7f5d 100644
--- a/desktop/lib/widgets/swarm_search_input.dart
+++ b/desktop/lib/widgets/swarm_search_input.dart
@@ -21,7 +21,7 @@ class SwarmSearchInput extends StatelessWidget {
this.autofocus = true,
this.hintText,
this.rounded = false,
- this.compact = false,
+ this.prominent = false,
});
final Key inputKey;
@@ -36,7 +36,7 @@ class SwarmSearchInput extends StatelessWidget {
final bool showClose, autofocus;
final String? hintText;
final bool rounded;
- final bool compact;
+ final bool prominent;
@override
Widget build(BuildContext context) => ListenableBuilder(
@@ -50,12 +50,12 @@ class SwarmSearchInput extends StatelessWidget {
final open = search != null;
final border = OutlineInputBorder(
borderRadius: BorderRadius.vertical(
- top: Radius.circular(rounded && !open ? 30 : 12),
+ top: Radius.circular(rounded && !open ? 999 : 12),
bottom: Radius.circular(
open
? 0
: rounded
- ? 30
+ ? 999
: 12,
),
),
@@ -82,7 +82,7 @@ class SwarmSearchInput extends StatelessWidget {
prefixIcon: const Icon(Icons.search, size: 20, color: Colors.white60),
prefixIconConstraints: BoxConstraints(
minWidth: 52,
- minHeight: compact ? 48 : 56,
+ minHeight: prominent ? 64 : 56,
),
suffixIcon: showClose
? Padding(
@@ -103,7 +103,7 @@ class SwarmSearchInput extends StatelessWidget {
: const Color(0xa6111521),
contentPadding: EdgeInsets.symmetric(
horizontal: 18,
- vertical: compact ? 14 : 18,
+ vertical: prominent ? 22 : 18,
),
isDense: true,
border: border,