Add button to export history in Duo Chat (Markdown, clipboard)

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

While learning Duo Chat best practices, I want to export the chat history to document it with my team in the GitLab wiki, issues or Markdown documentation. Currently, I need to manually mark the chat history, copy the text, and then re-format everything. This is inefficient and can block the customer's adoption journey by sharing best practices with their teams.

Proposal

Add a button that allows the export of the chat history and copies the content into the clipboard. The default format should be Markdown, which is also what the Chat prompts receive and render AFAIK.

Future iterations could support downloading a file, and different formats.

Button UX: Copy icon. ALT text: Copy chat history to clipboard.

Intended users

All Duo Chat users.

Feature Usage Metrics

Does this feature require an audit event?

/cc @tlinz @dmishunov @tmccaslin

This page may contain information related to upcoming products, features and functionality. It is important to note that the information presented is for informational purposes only, so please do not rely on the information for purchasing or planning purposes. Just like with all projects, the items mentioned on the page are subject to change or delay, and the development, release, and timing of any products, features, or functionality remain at the sole discretion of GitLab Inc.

Edited by 🤖 GitLab Bot 🤖