[PR #1278] [MERGED] [FEAT] Implement width and height resizing options for embed chat widget #3638

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1278
Author: @shatfield4
Created: 5/3/2024
Status: Merged
Merged: 5/8/2024
Merged by: @timothycarambat

Base: masterHead: 1214-feat-implement-width-and-height-resizing-options-for-embed-chat-widget


📝 Commits (5)

  • 6d736bc WIP embed app window size
  • 6c619b5 fix UI when resizing window and add text size customization option
  • ab63385 Merge branch 'master' into 1214-feat-implement-width-and-height-resizing-options-for-embed-chat-widget
  • 59ce715 update stylying for dims
  • 634fc93 publish new embed

📊 Changes

10 files changed (+46 additions, -17 deletions)

View changed files

📝 embed/README.md (+6 -0)
📝 embed/index.html (+3 -1)
📝 embed/src/App.jsx (+7 -1)
📝 embed/src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx (+5 -1)
📝 embed/src/components/ChatWindow/ChatContainer/ChatHistory/index.jsx (+1 -1)
📝 embed/src/components/ChatWindow/ChatContainer/PromptInput/index.jsx (+1 -1)
📝 embed/src/components/ChatWindow/ChatContainer/index.jsx (+6 -3)
📝 embed/src/components/ChatWindow/index.jsx (+11 -6)
📝 embed/src/hooks/useScriptAttributes.js (+3 -0)
📝 frontend/public/embed/anythingllm-chat-widget.min.js (+3 -3)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1214

What is in this change?

  • Update CSS to be responsive to width and height dimensions of embed widget
  • Implement data-window-height and data-window-width customization options for embed widget to change widget dimensions
  • Implement data-text-size customization option to change text size of chats
  • Update README showing how to utilize new customization options

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/1278 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/3/2024 **Status:** ✅ Merged **Merged:** 5/8/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1214-feat-implement-width-and-height-resizing-options-for-embed-chat-widget` --- ### 📝 Commits (5) - [`6d736bc`](https://github.com/Mintplex-Labs/anything-llm/commit/6d736bcae9824c84c2d1b4aecbfb7fb76d3ca041) WIP embed app window size - [`6c619b5`](https://github.com/Mintplex-Labs/anything-llm/commit/6c619b5f88a046c0cc562de4f0de5a6efe4b15f5) fix UI when resizing window and add text size customization option - [`ab63385`](https://github.com/Mintplex-Labs/anything-llm/commit/ab63385a5937bb1510e981096b706873e1dc540a) Merge branch 'master' into 1214-feat-implement-width-and-height-resizing-options-for-embed-chat-widget - [`59ce715`](https://github.com/Mintplex-Labs/anything-llm/commit/59ce71551570925772e03b0a2144033473926db5) update stylying for dims - [`634fc93`](https://github.com/Mintplex-Labs/anything-llm/commit/634fc9317157d1bc920672ebe53821ee8565f9d0) publish new embed ### 📊 Changes **10 files changed** (+46 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `embed/README.md` (+6 -0) 📝 `embed/index.html` (+3 -1) 📝 `embed/src/App.jsx` (+7 -1) 📝 `embed/src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx` (+5 -1) 📝 `embed/src/components/ChatWindow/ChatContainer/ChatHistory/index.jsx` (+1 -1) 📝 `embed/src/components/ChatWindow/ChatContainer/PromptInput/index.jsx` (+1 -1) 📝 `embed/src/components/ChatWindow/ChatContainer/index.jsx` (+6 -3) 📝 `embed/src/components/ChatWindow/index.jsx` (+11 -6) 📝 `embed/src/hooks/useScriptAttributes.js` (+3 -0) 📝 `frontend/public/embed/anythingllm-chat-widget.min.js` (+3 -3) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #1214 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Update CSS to be responsive to width and height dimensions of embed widget - Implement `data-window-height` and `data-window-width` customization options for embed widget to change widget dimensions - Implement `data-text-size` customization option to change text size of chats - Update README showing how to utilize new customization options ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [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:34:11 -05:00
yindo closed this issue 2026-02-22 18:34:11 -05:00
yindo changed title from [PR #1278] [FEAT] Implement width and height resizing options for embed chat widget to [PR #1278] [MERGED] [FEAT] Implement width and height resizing options for embed chat widget 2026-06-05 15:14:27 -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#3638