Empty states: lowercase muted, never parenthesized

The chat picker's no-contacts line and the CLI's no-serial-devices line
were the last two wearing parentheses; the standard shape is bare prose
with an em-dash explanation (housekeeping H-005).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Jean-Pierre MartineauandClaude Fable 5 committed 2026-07-29 23:05:21 -04:00
1 parent 0fc7eeaf5f
commit b143a6670d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -89,7 +89,7 @@ def _resolve_tcp(
def _format_device_list(devices: list[DiscoveredDevice]) -> str:
"""Render discovered devices as an indented, human-readable bullet list."""
if not devices:
return " (no serial devices detected)"
return " no serial devices detected"
lines = []
for d in devices:
flag = " [likely LoRa]" if d.is_likely_lora else ""
+1 -1
View File
@@ -183,7 +183,7 @@ class ChatTool(Tool):
)
)
else:
items.append(Separator(" (no contacts yet — receive an advert first)"))
items.append(Separator(" no contacts yet — receive an advert first"))
items.append(Separator(" "))
items.append(Choice(title="Back", value="__back__"))