Add copy and export for the Ask Optiq conversation - #1051
Open
dhingora-amd wants to merge 1 commit into
Open
dhingora-amd wants to merge 1 commit into
dhingora-amd wants to merge 1 commit into
Conversation
Adds Copy and Export icon buttons to the assistant composer, beside Clear. Copy puts the conversation on the clipboard; Export writes it to a Markdown/text file through the save dialog. Both reuse NotificationManager for feedback and stay disabled until there is a conversation to save. The shared BuildTranscriptText() renders the transcript as Markdown (You / Optiq turns, notices as blockquotes); charts are noted rather than snapshotted since they redraw from live model data.
dhingora-amd
requested review from
Sajeeth-Wimalasuriyan,
amokiche-amd,
drchen-amd and
tomk-amd
as code owners
September 14, 2026 19:29
tomk-amd
approved these changes
Sep 15, 2026
Collaborator
|
None of these are blockers, but recording them here... Issues
Nits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
The Ask Optiq assistant had no way to get a conversation out of the panel.
This adds Copy and Export so users can save an investigation, share findings,
or paste a transcript elsewhere.
Technical Details
Clear; both stay disabled until there is a conversation to save.
ImGui::SetClipboardText).AppWindow::ShowSaveFileDialog.BuildTranscriptText()renders the transcript as Markdown (You / Optiqturns, notices as blockquotes); charts are noted rather than snapshotted
since they redraw from live model data.
NotificationManagerfor success/failure feedback — no new loggingor file-write helpers introduced.
src/view/src/agenticprofiling/rocprofvis_ai_assistant.{h,_render.cpp}.