LibreChat/client/src/components/Chat/Messages
Danny Avila c7e4523d7c
🎯 refactor: LaTeX and Math Rendering (#7952)
* refactor: Markdown LaTeX processing

- Added micromark-extension-llm-math as a dependency in package.json and package-lock.json.
- Updated Vite configuration to alias micromark-extension-math.
- Modified Markdown components to use singleDollarTextMath: false for improved LaTeX rendering.
- Refactored latex utility functions to enhance LaTeX processing and escaping mechanisms.

* chore: linting of `EditTextPart`

* fix: handle key up to initiate edit of latest user message by adding id prop to Edit Message HoverButton

* chore: linting in Artifact component

* refactor: enhance LaTeX preprocessing functionality

- Updated `preprocessLaTeX` to improve handling of currency and LaTeX expressions.
- Introduced optimized regex patterns for better performance.
- Added support for escaping mhchem commands and handling code blocks.
- Enhanced tests for various LaTeX scenarios, including currency and special characters.
- Refactored existing tests to align with new preprocessing logic.

* chore: filter out false positives in unused packages workflow

- Added a grep command to exclude the micromark-extension-llm-math package from the list of unused dependencies in the GitHub Actions workflow.
2025-06-18 00:58:51 -04:00
..
Content 🎯 refactor: LaTeX and Math Rendering (#7952) 2025-06-18 00:58:51 -04:00
ui 📈 feat: Chat rating for feedback (#5878) 2025-05-30 12:16:34 -04:00
Feedback.tsx 🎨 style: Unify Styles across Themes and Improve Accessibility (#7783) 2025-06-07 18:22:08 -04:00
Fork.tsx 🎨 style: Unify Styles across Themes and Improve Accessibility (#7783) 2025-06-07 18:22:08 -04:00
HoverButtons.tsx 🎯 refactor: LaTeX and Math Rendering (#7952) 2025-06-18 00:58:51 -04:00
Message.tsx 🎨 feat: enhance Chat Input UI, File Mgmt. UI, Bookmarks a11y (#5112) 2024-12-29 17:31:41 -05:00
MessageAudio.tsx ⬇️ fix: Image Download Browser Compatibility (#7950) 2025-06-17 21:11:39 -04:00
MessageIcon.tsx 🛂 feat: OpenID Logout Redirect to end_session_endpoint (#5626) 2025-02-03 10:53:04 -05:00
MessageParts.tsx 🧩 feat: Web Search Config Validations & Clipboard Citation Processing (#7530) 2025-05-24 10:23:17 -04:00
MessagesView.tsx 🔃 refactor: Streamline Navigation, Message Loading UX (#7118) 2025-04-28 18:18:13 -04:00
MinimalHoverButtons.tsx 🧩 feat: Web Search Config Validations & Clipboard Citation Processing (#7530) 2025-05-24 10:23:17 -04:00
MinimalMessages.tsx 🔍 feat: Show Messages from Search Result (#2699) 2024-05-14 11:00:01 -04:00
MultiMessage.tsx 🚀 feat: Enhance S3 URL Expiry with Refresh; fix: S3 File Deletion (#6647) 2025-03-31 18:40:06 -04:00
SearchButtons.tsx 🔃 refactor: Streamline Navigation, Message Loading UX (#7118) 2025-04-28 18:18:13 -04:00
SearchMessage.tsx 📜 refactor: Optimize Conversation History Nav with Cursor Pagination (#5785) 2025-04-15 04:04:00 -04:00
SiblingSwitch.tsx 🎨 refactor: Enhance UI Consistency, Accessibility & Localization (#7788) 2025-06-08 14:00:57 -04:00
SubRow.tsx WIP: Update UI to match Official Style; Vision and Assistants 👷🏽 (#1190) 2023-11-16 10:42:24 -05:00