Open Bug 2027035 Opened 2 months ago Updated 3 hours ago

Add “Copy Table” action to Assistant responses

Categories

(Core :: Machine Learning: Frontend, task)

task
Points:
2

Tracking

()

ASSIGNED

People

(Reporter: flozia, Assigned: flozia)

References

Details

(Whiteboard: [genai][input])

Attachments

(1 file)

Ensure that copying assistant messages keep the table markdown intact.

Points: --- → 2
Depends on: 2027029
Duplicate of this bug: 2036822

Add a "Copy Table" action that allows users to copy only table content from Assistant responses.

  • Tables in Assistant responses include a "Copy Table" button
  • Clicking "Copy Table" copies only the table content to clipboard
    • does not include surrounding response text
    • does not include non-table content
  • Copied table content is in markdown format
  • Copied markdown table can be pasted into compatible applications (e.g. Excel) and renders as a usable table
  • Behavior matches expected output from selecting and copying only the markdown table manually
  • "Copy Table" button appears only when a table is present in the response
  • Existing "Copy" button behavior remains unchanged (copies full response)
Summary: Copy tables from Smart Window assistant messages → Add “Copy Table” action to Assistant responses
Assignee: nobody → fzia
Attachment #9591072 - Attachment description: WIP: Bug 2027035 - Add copy button to chat assistant markdown table → Bug 2027035 - Add copy button to chat assistant markdown table
Status: NEW → ASSIGNED
Pushed by fzia@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/2f3b190119c6 https://hg.mozilla.org/integration/autoland/rev/e61f10a71d0c Add copy button to chat assistant markdown table r=fluent-reviewers,yjamora,flod
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: