Skip to content

Commit 4279f18

Browse files
authored
hide restore to last checkpoint by default (microsoft#257507)
* hide restore to last checkpoint by default * restore to last checkpoint not hidden for now
1 parent 17b6ed8 commit 4279f18

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatTitleActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export function registerChatTitleActions() {
4343
menu: [{
4444
id: MenuId.ChatMessageFooter,
4545
group: 'navigation',
46-
order: 1,
46+
order: 2,
4747
when: ContextKeyExpr.and(ChatContextKeys.extensionParticipantRegistered, ChatContextKeys.isResponse, ChatContextKeys.responseHasError.negate(), ContextKeyExpr.has(enableFeedbackConfig))
4848
}, {
4949
id: MENU_INLINE_CHAT_WIDGET_SECONDARY,
@@ -90,7 +90,7 @@ export function registerChatTitleActions() {
9090
menu: [{
9191
id: MenuId.ChatMessageFooter,
9292
group: 'navigation',
93-
order: 2,
93+
order: 3,
9494
when: ContextKeyExpr.and(ChatContextKeys.extensionParticipantRegistered, ChatContextKeys.isResponse, ContextKeyExpr.has(enableFeedbackConfig))
9595
}, {
9696
id: MENU_INLINE_CHAT_WIDGET_SECONDARY,

src/vs/workbench/contrib/chat/browser/chatEditing/chatEditingActions.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,12 +481,12 @@ registerAction2(class RestoreLastCheckpoint extends Action2 {
481481
title: localize2('chat.restoreLastCheckpoint.label', "Restore to last checkpoint"),
482482
f1: false,
483483
category: CHAT_CATEGORY,
484-
icon: Codicon.arrowUp,
484+
icon: Codicon.discard,
485485
menu: [
486486
{
487487
id: MenuId.ChatMessageFooter,
488488
group: 'navigation',
489-
order: 3,
489+
order: 1,
490490
when: ContextKeyExpr.and(ContextKeyExpr.in(ChatContextKeys.itemId.key, ChatContextKeys.lastItemId.key), ContextKeyExpr.equals(`config.${ChatConfiguration.CheckpointsEnabled}`, true)),
491491
}
492492
]

0 commit comments

Comments
 (0)