fix(app): clarify shared session rename wording

This commit is contained in:
2026-10-23 00:31:49 +01:00
parent 8fe6c67016
commit b7a5aa43db
4 changed files with 6 additions and 6 deletions
@@ -39,7 +39,7 @@ const List<ChatCommand> chatCommands = <ChatCommand>[
),
ChatCommand(
name: chatCommandRename,
summary: 'Rename this session on this device',
summary: 'Rename this session',
usage: '/rename <title>',
takesArgument: true,
),
@@ -150,7 +150,7 @@ String chatCommandArgumentReport(ChatCommand command) =>
/// `/rename` without a title sends nothing and reports its usage.
const String chatRenameUsageReport =
'Usage: /rename <title> — renames this session on this device.';
'Usage: /rename <title> — renames this session.';
/// `/new` needs the open session's directory; without one nothing is sent.
const String chatNoDirectoryReport =
@@ -237,7 +237,7 @@ void main() {
find.text(
'/new — Start a fresh session in this directory\n'
'/close — Finish this session for every client, keeping its history\n'
'/rename <title> — Rename this session on this device\n'
'/rename <title> — Rename this session\n'
'/stop — Stop the turn that is running\n'
'/help — List every command',
),
@@ -456,7 +456,7 @@ void main() {
expect(palette(), findsOneWidget);
expect(row('rename'), findsOneWidget);
expect(find.text('/rename'), findsOneWidget);
expect(find.text('Rename this session on this device'), findsOneWidget);
expect(find.text('Rename this session'), findsOneWidget);
await tester.sendKeyEvent(LogicalKeyboardKey.escape);
await tester.pump();
@@ -135,7 +135,7 @@ void main() {
expect(gateway.sent('chat_rename'), isEmpty);
expect(
find.text(
'Usage: /rename <title> — renames this session on this device.',
'Usage: /rename <title> — renames this session.',
),
findsOneWidget,
);
@@ -20,7 +20,7 @@ void main() {
expect(chatCommands.map((command) => command.summary), [
'Start a fresh session in this directory',
'Finish this session for every client, keeping its history',
'Rename this session on this device',
'Rename this session',
'Stop the turn that is running',
'List every command',
]);