Fix/question markdown history#14490
Conversation
- Integrate Markdown rendering for question text in QuestionDock and QuestionPrompt components. - Update question display to utilize Markdown formatting for improved readability. - Add usage note in documentation to encourage Markdown usage for question text.
- Set min-height to 0 for better flexibility - Adjust flex properties for dynamic sizing - Enable overflow-y for scrollable content
…ring Fix/question markdown rendering
- Introduced styles for question text and hints in question prompts. - Enhanced styling for question answers to improve rendering.
- Implemented a copy function to allow users to copy the question text. - Added an IconButton to trigger the copy action in the question header. - Utilized both document.execCommand and navigator.clipboard for compatibility.
Fix/question text selection
- Introduced input and output props to GenericTool for enhanced functionality. - Implemented format function to handle various input types and stringify objects. - Added text function to construct a display string for input and output. - Updated BasicTool integration to conditionally show details based on input/output presence.
feat(GenericTool): add input/output formatting and display in BasicTool
- Updated the question text rendering to use the Markdown component for better formatting. - Ensured fallback to an empty string if the question is undefined.
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
|
The following comment was made by an LLM, it may be inaccurate: Based on my search results, I found a potentially related PR: Related PR Found:
This PR appears to directly address the same issue - fixing markdown rendering for question text. Since PR #14490 is titled "Fix/question markdown history," it may be addressing the same or a closely related problem with markdown formatting in questions, possibly with a focus on history functionality. |
No description provided.