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

배포#147

Merged
haesookimDev merged 16 commits intodeployfrom
main
Aug 26, 2025
Merged

배포#147
haesookimDev merged 16 commits intodeployfrom
main

Conversation

@haesookimDev
Copy link
Contributor

No description provided.

haesookimDev and others added 16 commits August 26, 2025 13:19
Clean up the processInlineMarkdownWithCitations function by removing
all console.log statements used for debugging citation parsing and
processing. This reduces console noise and improves performance during
runtime without affecting functionality.
- Introduce `ChatParserLatex` component to detect and render inline and block LaTeX
  expressions using KaTeX, preserving escape characters and supporting streaming.
- Update `ChatParser` and `ChatParserMarkdown` to handle LaTeX separately from markdown
  and citations, ensuring correct parsing and rendering order.
- Add KaTeX and react-katex dependencies to package.json and package-lock.json.
- Import KaTeX CSS globally for proper styling of math expressions.
- Add placeholder components for partial LaTeX rendering during streaming.
- Provide test pages (`test-latex/page.tsx` and `test-latex.tsx`) with various LaTe
- Add explicit typing for regex match and matches array to enhance type safety
- Fix resetting lastIndex on inline regex instead of block regex to avoid incorrect matching
- Ensure inline matches do not overlap with block matches by refining overlap check
- Remove obsolete test-latex.tsx file used for LaTeX rendering tests
Deleted the TestLatexPage component which contained various LaTeX rendering
test cases using the MessageRenderer component. This cleanup removes
unused test code and simplifies the codebase.
- Enhance escape handling in ChatParser to skip LaTeX commands and syntax
- Refactor findLatexBlocks with regex for accurate block and inline math detection
- Add smart escaping of LaTeX special characters, especially % in ChatParserLatex
- Simplify citation preprocessing in ChatParserMarkdown by skipping LaTeX areas
- Add detailed debug logs for LaTeX block detection and rendering steps

These changes improve robustness and correctness when processing LaTeX content
and citations within chat messages, reducing parsing errors and rendering issues.
- Extract parseCitation and related helper functions from ChatParser.tsx
  into a new ChatParserCite.tsx component for better modularity.
- Remove deprecated parseCitation implementation and preprocessJsonString
  from ChatParser.tsx and import the new parseCitation function.
- Maintain existing parsing behavior including balanced brace detection,
  escape sequence handling, and manual fallback parsing.
- Improve code organization and separation of concerns in chat parsing components.
- Introduce processInlineMarkdownWithCitations to handle text containing
  citations, LaTeX, and markdown in a unified way.
- Implement robust citation detection with balanced brace parsing and
  escape character handling.
- Support partial citation placeholders during streaming rendering.
- Render citations as interactive SourceButton components when source info
  is available.
- Refactor ChatParserMarkdown to delegate citation processing to the new
  module, removing duplicated logic.
- Clean up debug logs and improve preprocessing of malformed citation JSON.
- Replace single-line input with a textarea that auto-adjusts height
- Limit textarea height between 45px and 200px, show scrollbar if exceeded
- Hide vertical scrollbar when content fits within max height
- Adjust textarea height dynamically on input changes for better UX
- Update styles to support scrollable state and consistent line height
- Add URL length check when setting initial_message param to avoid exceeding
  URL length limits by storing long messages in localStorage with an ID.
- Update chat components to retrieve initial messages from localStorage if ID
  param is present, falling back to direct URL param otherwise.
- Automatically execute the initial message after setting it and clean up URL
  parameters to improve user experience and maintain URL cleanliness.
feat: Add user ID display in user management table
feat: Implement chat monitoring section in admin panel
feat: Create AdminConfigViewer component for configuration management
style: Add styles for AdminConfigViewer component
Changed the textarea transition property to specifically animate height
with an ease-in-out timing function for smoother resizing behavior. This
improves the visual experience when the chat input area adjusts its size.
Comment out the signup link in the login page to prevent user
navigation to the signup route, possibly due to ongoing updates
or restrictions on new registrations.
@haesookimDev haesookimDev merged commit 0d98ff5 into deploy Aug 26, 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