Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

배포#140

Merged
CocoRoF merged 5 commits intodeployfrom
main
Aug 25, 2025
Merged

배포#140
CocoRoF merged 5 commits intodeployfrom
main

Conversation

@haesookimDev
Copy link
Contributor

No description provided.

CocoRoF and others added 4 commits August 25, 2025 05:53
…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.
@CocoRoF CocoRoF merged commit 3731375 into deploy Aug 25, 2025
4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants