Skip to content

Commit e839dba

Browse files
authored
fix(amazonq): hide export chat button #6923
## Problem clicking the Export button on a fresh conversation doesn't include answers from Q in the exported markdown/html. Answers are included if Export is clicked after closing/reopening IDE ## Solution hide export chat from tab bar
1 parent b097fbf commit e839dba

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

packages/amazonq/.changes/next-release/Feature-ed1e1b2e-0073-4de0-99b8-e417298328e6.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/core/src/amazonq/webview/ui/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -969,11 +969,12 @@ export const createMynahUI = (
969969
icon: MynahIcons.COMMENT,
970970
description: 'View chat history',
971971
},
972+
/* Temporarily hide export chat button from tab bar
972973
{
973974
id: 'export_chat',
974975
icon: MynahIcons.EXTERNAL,
975976
description: 'Export chat',
976-
},
977+
}, */
977978
],
978979
},
979980
})

packages/core/src/shared/db/chatDb/util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,12 @@ export function groupTabsByDate(tabs: Tab[]): DetailedListItemGroup[] {
191191
}
192192

193193
const getConversationActions = (historyId: string): ChatItemButton[] => [
194+
/* Temporarily hide export chat button from tab bar
194195
{
195196
text: 'Export',
196197
icon: 'external' as MynahIconsType,
197198
id: historyId,
198-
},
199+
}, */
199200
{
200201
text: 'Delete',
201202
icon: 'trash' as MynahIconsType,

0 commit comments

Comments
 (0)