Skip to content

Add ability to copy references from Web App #1144

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kowshik24
Copy link

Related to #1021

Add a "Copy References" button to the references pane in the web app.

  • ReferencePanel Component

    • Import Clipboard icon and Button component.
    • Add a "Copy References" button to the ReferencePanel component.
    • Implement functionality to copy all references (notes, online, and code) as a markdown bullet list.
    • Update the TeaserReferencesSection component to include the "Copy References" button.
  • ChatMessage Component

    • Import Clipboard icon.
    • Add a "Copy References" button to the ChatMessage component.
    • Implement functionality to copy all references (notes, online, and code) as a markdown bullet list.

Related to khoj-ai#1021

Add a "Copy References" button to the references pane in the web app.

* **ReferencePanel Component**
  - Import `Clipboard` icon and `Button` component.
  - Add a "Copy References" button to the `ReferencePanel` component.
  - Implement functionality to copy all references (notes, online, and code) as a markdown bullet list.
  - Update the `TeaserReferencesSection` component to include the "Copy References" button.

* **ChatMessage Component**
  - Import `Clipboard` icon.
  - Add a "Copy References" button to the `ChatMessage` component.
  - Implement functionality to copy all references (notes, online, and code) as a markdown bullet list.
@kowshik24 kowshik24 marked this pull request as ready for review March 30, 2025 10:07
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