fix(app): clarify shared session rename wording
This commit is contained in:
@@ -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',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user