[PR #786] [MERGED] #765 - Enhanced chat styling #3495

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/786
Author: @sherifButt
Created: 2/23/2024
Status: Merged
Merged: 2/23/2024
Merged by: @timothycarambat

Base: masterHead: 765-enhanced-chat-styling


📝 Commits (5)

  • dfc88e7 enhanced chat style and remove list restriction
  • bb595d3 [FEAT]: Enhanced chat styling #765
  • 16c4d69 small changes in CSS to prevent collisions
  • 2853a18 remove commented code
  • f8a49f6 linting

📊 Changes

5 files changed (+158 additions, -6 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx (+1 -1)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx (+1 -1)
📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx (+1 -1)
📝 frontend/src/index.css (+154 -0)
📝 frontend/src/utils/chat/markdown.js (+1 -3)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #765

What is in this change?

  • Enhanced chat styling for better readability, please view before and after below.

Additional Information

  • added markdown tag and few tailwind styling to both chat history component and historical message. frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx and frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx
  • added css styles for .markdown tag in frontend/src/index.css
  • Removed the restriction on generating lists from markdown in ./frontend/src/utils/chat/markdown.js

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

Before:
Screenshot 2024-02-23 at 09 25 26
After:
Screenshot 2024-02-23 at 09 25 07


🔄 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/786 **Author:** [@sherifButt](https://github.com/sherifButt) **Created:** 2/23/2024 **Status:** ✅ Merged **Merged:** 2/23/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `765-enhanced-chat-styling` --- ### 📝 Commits (5) - [`dfc88e7`](https://github.com/Mintplex-Labs/anything-llm/commit/dfc88e79d9049073157e7fcc74e0c331e0c09e1e) enhanced chat style and remove list restriction - [`bb595d3`](https://github.com/Mintplex-Labs/anything-llm/commit/bb595d3cfa15988ad85953ece2931e4c9a6171d1) [FEAT]: Enhanced chat styling #765 - [`16c4d69`](https://github.com/Mintplex-Labs/anything-llm/commit/16c4d696e71c5c48a682cab4981221a290e29555) small changes in CSS to prevent collisions - [`2853a18`](https://github.com/Mintplex-Labs/anything-llm/commit/2853a180e083b73b3295a971dc06c1ad8065a8d5) remove commented code - [`f8a49f6`](https://github.com/Mintplex-Labs/anything-llm/commit/f8a49f605069b9806d4070490822c10ed89ace30) linting ### 📊 Changes **5 files changed** (+158 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx` (+1 -1) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx` (+1 -1) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx` (+1 -1) 📝 `frontend/src/index.css` (+154 -0) 📝 `frontend/src/utils/chat/markdown.js` (+1 -3) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [ ] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [X] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #765 ### What is in this change? - Enhanced chat styling for better readability, please view before and after below. ### Additional Information - added markdown tag and few tailwind styling to both chat history component and historical message. frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx and frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx - added css styles for .markdown tag in frontend/src/index.css - Removed the restriction on generating lists from markdown in ./frontend/src/utils/chat/markdown.js ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] 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 Before: <img width="805" alt="Screenshot 2024-02-23 at 09 25 26" src="https://github.com/Mintplex-Labs/anything-llm/assets/90522472/9f845bdc-6d3e-4096-82c9-6890be414d44"> After: <img width="823" alt="Screenshot 2024-02-23 at 09 25 07" src="https://github.com/Mintplex-Labs/anything-llm/assets/90522472/280b7de7-3efc-4356-91d9-dcff8531ab7d"> --- <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:33:54 -05:00
yindo closed this issue 2026-02-22 18:33:54 -05:00
yindo changed title from [PR #786] #765 - Enhanced chat styling to [PR #786] [MERGED] #765 - Enhanced chat styling 2026-06-05 15:13:43 -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#3495