This repository was archived by the owner on Mar 18, 2026. It is now read-only.
Conversation
…ol logs - Implemented CodeBlock component for displaying and copying code snippets with syntax highlighting. - Created findCodeBlocks function to parse code blocks from text content. - Added detectCodeLanguage function to identify programming languages from code snippets. - Developed ThinkBlock component to display thought processes with expandable/collapsible functionality. - Implemented findThinkBlocks function to parse <think> blocks from text content. - Introduced ToolUseLogBlock component to display tool usage logs with expandable details. - Created findToolUseLogBlocks and findToolOutputLogBlocks functions to parse respective log blocks from text content. - Added utility functions for parsing tool log content and citations.
- Removed unused imports and cleaned up the code in ChatParser.tsx. - Moved citation handling and inline markdown processing to a new file, ChatParserMarkdown.tsx. - Implemented functions for citation placeholders, JSON cleanup, line extraction, and inline markdown processing. - Enhanced the parsing logic to handle citations more effectively within markdown content. - Updated the MessageRenderer to utilize the new markdown processing functions.
- Introduce DocxHighlighter component to apply line-based highlights on DOCX HTML content using CSS classes. - Dynamically import DocxHighlighter alongside existing PDFHighlighter. - Add random initial line range state for demonstration of highlights. - Create DocxHighlighter.css with styles for highlighted text. - Implement DOM polling and grouping logic to highlight text lines within specified range in DOCX viewer.
- Simplify PDFHighlighter by removing manual highlight box state and DOM elements - Apply highlights by adding/removing CSS classes directly on text spans - Streamline PDF text layer detection and DOM readiness checks - Remove legacy image/table detection and line grouping logic to prevent false positives - Update SCSS to use concise highlight classes with consistent animations and styles - Component no longer renders highlight divs, relying solely on CSS for visual effects This refactor improves performance and maintainability by leveraging CSS for highlights and reducing complex DOM manipulations within React.
…OLOUTPUTLOG patterns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.