Skip to content
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

[Feature Request]: Message Quick Duplication, with Format Options #61

Open
HumanistAtypik opened this issue Jan 13, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@HumanistAtypik
Copy link

HumanistAtypik commented Jan 13, 2025

Feature Description

Currently, users can copy messages but cannot easily duplicate them into a new query box. This requires multiple manual steps:

  1. Click copy button
  2. Paste content
  3. Edit as needed

Why not implement a "Duplicate Message" feature that would:

  • Add a duplicate button next to the existing copy button in message blocks
  • Allow direct duplication into a new query box
  • Provide format options on hover (plain text/markdown citation)
  • Integrate with the existing message block UI

The feature would:

  • Create a new query box with the duplicated content
  • Preserve formatting options based on user choice
  • Support both Question and Answer blocks
  • Use the existing UI patterns and components

Technical Implementation

The feature should:

  1. UI Component:

    • Add a new button with duplicate icon
    • Use existing dropdown pattern for format options
    • Follow current styling (tw-* classes)
  2. Format Options:

    type DuplicateFormat = 'plain' | 'markdown';

Use Case

  1. Iterative Queries:

    • User gets a good answer but wants to refine it
    • Clicks duplicate on the question
    • Modifies the duplicated query
    • Gets an improved answer
  2. Answer Comparison:

    • User wants to compare model responses
    • Duplicates an answer with citation
    • Changes model or focus
    • Compares the results
  3. Question Building:

    • User wants to build on previous questions
    • Duplicates relevant parts from multiple messages
    • Combines them into a new query
    • Gets a comprehensive answer

This would significantly improve the workflow for users who:

  • Iterate on their queries
  • Compare different approaches
  • Build complex questions from parts of previous interactions

Alternatives Considered

  1. Enhanced Copy Button
  2. Context Menu Option
  3. Drag and Drop
@HumanistAtypik HumanistAtypik added the enhancement New feature or request label Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant