Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"type": "Feature",
"description": "Amazon Q chat: Click export icon to save chat transcript in Markdown or HTML"
}
3 changes: 1 addition & 2 deletions packages/core/src/amazonq/webview/ui/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -973,12 +973,11 @@ export const createMynahUI = (
icon: MynahIcons.COMMENT,
description: 'View chat history',
},
/* Temporarily hide export chat button from tab bar
{
id: 'export_chat',
icon: MynahIcons.EXTERNAL,
description: 'Export chat',
}, */
},
],
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export class Messenger {
followUpsHeader: undefined,
relatedSuggestions: undefined,
triggerID,
messageID: '',
messageID: triggerID,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sending an empty string for messageId is what caused Q responses to not be included in exported chat transcript

userIntent: undefined,
codeBlockLanguage: undefined,
contextList: mergedRelevantDocuments,
Expand Down
3 changes: 1 addition & 2 deletions packages/core/src/shared/db/chatDb/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,11 @@ export function groupTabsByDate(tabs: Tab[]): DetailedListItemGroup[] {
}

const getConversationActions = (historyId: string): ChatItemButton[] => [
/* Temporarily hide export chat button from tab bar
{
text: 'Export',
icon: 'external' as MynahIconsType,
id: historyId,
}, */
},
{
text: 'Delete',
icon: 'trash' as MynahIconsType,
Expand Down
Loading