[PR #1030] [MERGED] [FEAT] Include CSS selectors on all html elements in embedded chat widget #3556

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

📋 Pull Request Information

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

Base: masterHead: 1019-feat-include-css-selectors-on-all-html-elements-in-chatui


📝 Commits (4)

  • fac4f32 add ids to main html elements and aria-labels in embedded chat widget
  • c10b711 Merge branch 'master' into 1019-feat-include-css-selectors-on-all-html-elements-in-chatui
  • aed06a5 revert index.html embedded chat widget testing page
  • 09c7985 remove id from chat messages and replace with placeholder classname

📊 Changes

6 files changed (+16 additions, -4 deletions)

View changed files

📝 embed/src/App.jsx (+1 -0)
📝 embed/src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx (+3 -2)
📝 embed/src/components/ChatWindow/ChatContainer/ChatHistory/index.jsx (+2 -0)
📝 embed/src/components/ChatWindow/ChatContainer/PromptInput/index.jsx (+3 -0)
📝 embed/src/components/ChatWindow/Header/index.jsx (+6 -1)
📝 frontend/public/embed/anythingllm-chat-widget.min.js (+1 -1)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #1019

What is in this change?

Describe the changes in this PR that are impactful to the repo.

  • Add id props to html elements
  • Add aria-label props to html elements to improve screen reader compatibility

Additional Information

Add any other context about the Pull Request here that was not captured above.

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/1030 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 4/3/2024 **Status:** ✅ Merged **Merged:** 4/3/2024 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `1019-feat-include-css-selectors-on-all-html-elements-in-chatui` --- ### 📝 Commits (4) - [`fac4f32`](https://github.com/Mintplex-Labs/anything-llm/commit/fac4f325e06442f5c9f71bb69e0c48b910796715) add ids to main html elements and aria-labels in embedded chat widget - [`c10b711`](https://github.com/Mintplex-Labs/anything-llm/commit/c10b711c13367320e0a6f9cdb717984dec17e662) Merge branch 'master' into 1019-feat-include-css-selectors-on-all-html-elements-in-chatui - [`aed06a5`](https://github.com/Mintplex-Labs/anything-llm/commit/aed06a598cc9f0aae88b302d4974c1d36fd85245) revert index.html embedded chat widget testing page - [`09c7985`](https://github.com/Mintplex-Labs/anything-llm/commit/09c79852c28eadcf02880a9bb239412695587123) remove id from chat messages and replace with placeholder classname ### 📊 Changes **6 files changed** (+16 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `embed/src/App.jsx` (+1 -0) 📝 `embed/src/components/ChatWindow/ChatContainer/ChatHistory/HistoricalMessage/index.jsx` (+3 -2) 📝 `embed/src/components/ChatWindow/ChatContainer/ChatHistory/index.jsx` (+2 -0) 📝 `embed/src/components/ChatWindow/ChatContainer/PromptInput/index.jsx` (+3 -0) 📝 `embed/src/components/ChatWindow/Header/index.jsx` (+6 -1) 📝 `frontend/public/embed/anythingllm-chat-widget.min.js` (+1 -1) </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 #1019 ### What is in this change? Describe the changes in this PR that are impactful to the repo. - Add id props to html elements - Add aria-label props to html elements to improve screen reader compatibility ### 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:01 -05:00
yindo closed this issue 2026-02-22 18:34:01 -05:00
yindo changed title from [PR #1030] [FEAT] Include CSS selectors on all html elements in embedded chat widget to [PR #1030] [MERGED] [FEAT] Include CSS selectors on all html elements in embedded chat widget 2026-06-05 15:14:02 -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#3556