[PR #4281] [MERGED] Enhanced Chat Embed History View #4580

Closed
opened 2026-02-22 18:36:07 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4281
Author: @MateKristof
Created: 8/13/2025
Status: Merged
Merged: 9/18/2025
Merged by: @timothycarambat

Base: masterHead: master


📝 Commits (10+)

  • 9dee563 Enhanced Chat Embed History View
  • e202a42 Robust Markdown Rendering
  • 48e2344 feat: Improve markdown rendering in chat embed history
  • 5870d81 Merge branch 'master' into master
  • f809ac3 update ui for show/hide thoughts in embed chat history
  • 33144f2 Merge branch 'master' into matekristof-master
  • 620975b refactor -always show thoughts if available
  • 9fcacb4 patch unused imports and use safeJsonParse
  • 8011b17 update fallback for loading state to always reset
  • 1dd1f46 Merge branch 'master' into master

📊 Changes

3 files changed (+110 additions, -15 deletions)

View changed files

📝 frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/ChatRow/index.jsx (+11 -9)
frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/MarkdownRenderer.jsx (+87 -0)
📝 frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/index.jsx (+12 -6)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4280

What is in this change?

This pull request introduces several new features and improvements to the chat embed history page, enhancing its usability and providing more powerful tools for reviewing chat logs.

  1. Markdown Rendering for Responses:

    • The "RESPONSE" column now correctly renders markdown content, providing a much-improved reading experience for formatted text.
    • A new MarkdownRenderer component has been created to handle the parsing and rendering of markdown, leveraging the existing markdown-it library.
  2. "Thinking" Step Visibility Toggle:

    • A "Show 'thinking'" toggle has been added to the UI, allowing users to show or hide the text within <think> tags in the model's response. This is useful for debugging and understanding the model's thought process without cluttering the main view.
  3. Enlarged Response Modal:

    • The modal window for viewing the full response text has been enlarged to provide a better reading experience for detailed responses.

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/4281 **Author:** [@MateKristof](https://github.com/MateKristof) **Created:** 8/13/2025 **Status:** ✅ Merged **Merged:** 9/18/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`9dee563`](https://github.com/Mintplex-Labs/anything-llm/commit/9dee5637d6e2d16ba358c0938af3f7ab23cc1e9d) Enhanced Chat Embed History View - [`e202a42`](https://github.com/Mintplex-Labs/anything-llm/commit/e202a42c02c4c8da0355a67c734420588237e24c) Robust Markdown Rendering - [`48e2344`](https://github.com/Mintplex-Labs/anything-llm/commit/48e2344a9dc2b4f583acbe2d4336eb618be03042) feat: Improve markdown rendering in chat embed history - [`5870d81`](https://github.com/Mintplex-Labs/anything-llm/commit/5870d8165ac00dd6814a7d6ea3de40d1d31e6e42) Merge branch 'master' into master - [`f809ac3`](https://github.com/Mintplex-Labs/anything-llm/commit/f809ac365a32d6fdcae16cd384f811432dbec0ef) update ui for show/hide thoughts in embed chat history - [`33144f2`](https://github.com/Mintplex-Labs/anything-llm/commit/33144f24d2346b20cff01ba71986af210641145e) Merge branch 'master' into matekristof-master - [`620975b`](https://github.com/Mintplex-Labs/anything-llm/commit/620975b31533b3c9435fb5d3932a935e6c64d814) refactor -always show thoughts if available - [`9fcacb4`](https://github.com/Mintplex-Labs/anything-llm/commit/9fcacb44015785473682b1e12f4c1761b85a1301) patch unused imports and use safeJsonParse - [`8011b17`](https://github.com/Mintplex-Labs/anything-llm/commit/8011b1712c1b36e7532167197e31d9aa2c8a12f7) update fallback for loading state to always reset - [`1dd1f46`](https://github.com/Mintplex-Labs/anything-llm/commit/1dd1f46daec3d04211a3f0a5c2553ad7dc47c471) Merge branch 'master' into master ### 📊 Changes **3 files changed** (+110 additions, -15 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/ChatRow/index.jsx` (+11 -9) ➕ `frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/MarkdownRenderer.jsx` (+87 -0) 📝 `frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/index.jsx` (+12 -6) </details> ### 📄 Description ### Pull Request Type - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [x] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues resolves #4280 ### What is in this change? This pull request introduces several new features and improvements to the chat embed history page, enhancing its usability and providing more powerful tools for reviewing chat logs. 1. __Markdown Rendering for Responses:__ - The "RESPONSE" column now correctly renders markdown content, providing a much-improved reading experience for formatted text. - A new `MarkdownRenderer` component has been created to handle the parsing and rendering of markdown, leveraging the existing `markdown-it` library. 2. __"Thinking" Step Visibility Toggle:__ - A "Show 'thinking'" toggle has been added to the UI, allowing users to show or hide the text within `<think>` tags in the model's response. This is useful for debugging and understanding the model's thought process without cluttering the main view. 3. __Enlarged Response Modal:__ - The modal window for viewing the full response text has been enlarged to provide a better reading experience for detailed responses. ### Additional Information ### Developer Validations - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:07 -05:00
yindo closed this issue 2026-02-22 18:36:07 -05:00
yindo changed title from [PR #4281] Enhanced Chat Embed History View to [PR #4281] [MERGED] Enhanced Chat Embed History View 2026-06-05 15:19:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4580