Skip to content

Commit 1bbaea8

Browse files
committed
Update checkpoint and commit message titles to be more accurate and consistent
1 parent 5af6c8e commit 1bbaea8

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/vscode/src/commands/apply-chat-response-command/apply-chat-response-command.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ export const apply_chat_response_command = (params: {
338338
err
339339
)
340340
}
341-
checkpoint_to_update.title = 'Before response accepted'
341+
checkpoint_to_update.title = 'Response accepted'
342342
checkpoint_to_update.response_history = history_for_checkpoint
343343
checkpoint_to_update.response_preview_item_created_at =
344344
created_at_for_preview

‎packages/vscode/src/commands/checkpoints-command/actions/restore-checkpoint.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ export const restore_checkpoint = async (params: {
526526
)
527527

528528
if (
529-
params.checkpoint.title == 'Before response accepted' &&
529+
params.checkpoint.title == 'Response accepted' &&
530530
params.checkpoint.response_preview_item_created_at &&
531531
params.checkpoint.response_history
532532
) {

‎packages/vscode/src/views/panel/backend/message-handlers/handle-accept-commit-message.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export const handle_accept_commit_message = async (
3232

3333
await repository.status()
3434

35-
const title = 'Committed changes'
35+
const title = 'New commit'
3636
const description = commit_message
3737
await create_checkpoint(
3838
panel_provider.workspace_provider,

0 commit comments

Comments
 (0)