[PR #3892] [MERGED] Update styles of attachments uploaded in PromptInput #4447

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3892
Author: @shatfield4
Created: 5/27/2025
Status: Merged
Merged: 5/27/2025
Merged by: @timothycarambat

Base: masterHead: 3874-feat-update-styles-of-attachment-uploading-in-promptinput


📝 Commits (8)

  • 3cb99f6 update ui for attachment item component
  • f4b9dbc fix attachment styles and spacing of prompt input
  • 62f3a66 Merge branch 'master' into 3874-feat-update-styles-of-attachment-uploading-in-promptinput
  • 227092a lint
  • 7b7c9ca Merge branch 'master' into 3874-feat-update-styles-of-attachment-uploading-in-promptinput
  • 884721c fix loading state for dark/light modes
  • 8bd6d37 truncate error message
  • b10de8d image attachment fix

📊 Changes

4 files changed (+75 additions, -39 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx (+42 -36)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+3 -3)
📝 frontend/src/index.css (+20 -0)
📝 frontend/tailwind.config.js (+10 -0)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #3874

What is in this change?

  • Update styles of attachements that are uploaded via the PromptInput component
  • Add new theme variables for attachment styles
  • Update spacing of PromptInput component to match designs

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/3892 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 5/27/2025 **Status:** ✅ Merged **Merged:** 5/27/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `3874-feat-update-styles-of-attachment-uploading-in-promptinput` --- ### 📝 Commits (8) - [`3cb99f6`](https://github.com/Mintplex-Labs/anything-llm/commit/3cb99f62152257c0a78c5287f2337d7ef6d247ed) update ui for attachment item component - [`f4b9dbc`](https://github.com/Mintplex-Labs/anything-llm/commit/f4b9dbce8bb6f9879b02170d622ad7d3b18b1a5f) fix attachment styles and spacing of prompt input - [`62f3a66`](https://github.com/Mintplex-Labs/anything-llm/commit/62f3a667f0c87c51841d66f5227b9b6bb823f53e) Merge branch 'master' into 3874-feat-update-styles-of-attachment-uploading-in-promptinput - [`227092a`](https://github.com/Mintplex-Labs/anything-llm/commit/227092a45283cca72ee4daf63d10627c757b85d0) lint - [`7b7c9ca`](https://github.com/Mintplex-Labs/anything-llm/commit/7b7c9ca9ab453cc02afced91a0760c083a232eff) Merge branch 'master' into 3874-feat-update-styles-of-attachment-uploading-in-promptinput - [`884721c`](https://github.com/Mintplex-Labs/anything-llm/commit/884721c057e596ab9c40592cdfa31a6115648feb) fix loading state for dark/light modes - [`8bd6d37`](https://github.com/Mintplex-Labs/anything-llm/commit/8bd6d3757b4c2e89d42289e077267b00a028ea8e) truncate error message - [`b10de8d`](https://github.com/Mintplex-Labs/anything-llm/commit/b10de8dc3e7ff7706cc574b36469a5041e413de4) image attachment fix ### 📊 Changes **4 files changed** (+75 additions, -39 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx` (+42 -36) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+3 -3) 📝 `frontend/src/index.css` (+20 -0) 📝 `frontend/tailwind.config.js` (+10 -0) </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 #3874 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Update styles of attachements that are uploaded via the PromptInput component - Add new theme variables for attachment styles - Update spacing of PromptInput component to match designs ### 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:35:51 -05:00
yindo closed this issue 2026-02-22 18:35:51 -05:00
yindo changed title from [PR #3892] Update styles of attachments uploaded in PromptInput to [PR #3892] [MERGED] Update styles of attachments uploaded in PromptInput 2026-06-05 15:18:37 -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#4447