Skip to content

Conversation

@gauthiii
Copy link

Description
This PR adds two action buttons to the bot's chat messages:

  1. Copy Markdown: Copies the raw markdown text to the clipboard.
  2. Download PDF: Generates a clean, white-background PDF of the message content.

Changes

  • Updated MarkdownComponent to handle PDF generation using jspdf.
  • Added MatProgressSpinner for loading states during PDF generation.
  • Added specific styles to ensure tooltips are readable (white background).
  • Implemented "Gemini-style" floating action buttons below the chat bubble.

Screenshots

1. Copy Markdown Text

Screenshot 2026-01-28 at 12 05 31 AM

Result

Screenshot 2026-01-28 at 12 06 08 AM

2. Export Chat Response to PDF

Screenshot 2026-01-28 at 12 05 38 AM

Result

Screenshot 2026-01-28 at 12 05 47 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant