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.

polish(mobile): Settings says what each row sets, and its headings can be read

dee7aafc3730a79
diff --git a/mobile/lib/phone/settings_page.dart b/mobile/lib/phone/settings_page.dart
index 212b7400b..2ba633c8f 100644
--- a/mobile/lib/phone/settings_page.dart
+++ b/mobile/lib/phone/settings_page.dart
@@ -167,7 +167,8 @@ class _Body extends StatelessWidget {
// is deliberate: it is the only run here anybody opens twice. Everything below it is set once
// and left alone, so burying a figure people check daily under four preferences would be
// ordering the list by how permanent each row is rather than by how often it is read.
- const SettingsCaption('Usage'),
+ // No caption: its one row says Usage, and a heading saying it again over it said nothing.
+ const SizedBox(height: 22),
SettingsGroup(
children: [
// No Stats row: counters this app keeps about itself are nobody's daily question.
@@ -342,7 +343,8 @@ class _PhoneNameRow extends StatelessWidget {
AppTheme.watch(context);
return SettingsRow(
key: const ValueKey('settings-phone-name'),
- title: 'This phone',
+ // What the row sets, not what it is about: "This phone · Phone" read as a heading.
+ title: 'Phone name',
value: notifier.phoneClientDescriptor().name,
onTap: () => unawaited(
showAppDialog<void>(
@@ -396,7 +398,7 @@ class _PhoneNameDialogState extends State<_PhoneNameDialog> {
Widget build(BuildContext context) {
AppTheme.watch(context);
return AlertDialog(
- title: const Text('This phone'),
+ title: const Text('Phone name'),
content: SizedBox(
width: 360,
child: TextField(
@@ -565,11 +567,13 @@ class _PaletteRow extends StatelessWidget {
builder: (context, prefs, _) {
AppTheme.watch(context);
return SettingsRow(
- title: 'Palette',
+ // "App colors", beside the terminal's own "Colors": both read Graphite by default, and
+ // two rows with one value looked like the same setting twice.
+ title: 'App colors',
value: prefs.palette.label,
onTap: () => showPhoneSheet(
context,
- title: 'Color palette',
+ title: 'App colors',
actions: [
for (final palette in HarnessPalette.values)
PhoneSheetAction(
diff --git a/mobile/lib/phone/settings_row.dart b/mobile/lib/phone/settings_row.dart
index f33559f16..fef1b980b 100644
--- a/mobile/lib/phone/settings_row.dart
+++ b/mobile/lib/phone/settings_row.dart
@@ -59,9 +59,15 @@ class SettingsCaption extends StatelessWidget {
// floating between two cards with nothing to say which it labels.
padding: const EdgeInsets.fromLTRB(4, 22, 4, 8),
// Lowercase and 13pt, the way Find heads its sections (`needs you`, `recent`).
+ //
+ // ⚠️ Halfway between faint and secondary, not faint: faint reads 3.4:1 on the page, under
+ // the 4.5:1 small text needs, and a heading is text somebody has to read to find a row.
child: Text(
text.toLowerCase(),
- style: TextStyle(color: AppPalette.textFaint, fontSize: 13),
+ style: TextStyle(
+ color: Color.lerp(AppPalette.textFaint, AppPalette.textSecondary, .5),
+ fontSize: 13,
+ ),
),
);
}