θΏ™ζ˜―indexlocζδΎ›ηš„ζœεŠ‘οΌŒδΈθ¦θΎ“ε…₯任何密码
Skip to content

Update styles of attachments uploaded in PromptInput #3892

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

shatfield4
Copy link
Collaborator

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

@shatfield4 shatfield4 linked an issue May 27, 2025 that may be closed by this pull request
@shatfield4 shatfield4 changed the title 3874 feat update styles of attachment uploading in promptinput Update styles of attachments uploaded in PromptInput May 27, 2025
Copy link
Member

@timothycarambat timothycarambat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Missing x to unembed the file if accidentally uploaded
  • Loading state is not correct to the designs in WIP currently
Screenshot 2025-05-27 at 4 27 56β€―PM Screenshot 2025-05-27 at 4 28 03β€―PM
  • We should do something with the error state text. Maybe just shorten the text below so that it fits on a line at least. Otherwise looks ok!
Screenshot 2025-05-27 at 4 29 16β€―PM

@timothycarambat timothycarambat dismissed their stale review May 28, 2025 00:24

completed

@timothycarambat timothycarambat merged commit b3a95f7 into master May 28, 2025
@timothycarambat timothycarambat deleted the 3874-feat-update-styles-of-attachment-uploading-in-promptinput branch May 28, 2025 00:24
cabwds pushed a commit to cabwds/anything-llm that referenced this pull request Jul 3, 2025
)

* update ui for attachment item component

* fix attachment styles and spacing of prompt input

* lint

* fix loading state for dark/light modes

* truncate error message

* image attachment fix

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT]: Update styles of attachment uploading in PromptInput
2 participants