complexity
complexity copied to clipboard
[Feature Request]: Message Quick Duplication, with Format Options
Feature Description
Currently, users can copy messages but cannot easily duplicate them into a new query box. This requires multiple manual steps:
- Click copy button
- Paste content
- 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:
-
UI Component:
- Add a new button with duplicate icon
- Use existing dropdown pattern for format options
- Follow current styling (tw-* classes)
-
Format Options:
type DuplicateFormat = 'plain' | 'markdown';
Use Case
-
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
-
Answer Comparison:
- User wants to compare model responses
- Duplicates an answer with citation
- Changes model or focus
- Compares the results
-
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
- Enhanced Copy Button
- Context Menu Option
- Drag and Drop