Skip to content
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

### Minor Bugs/Fixes: Chat Header UI Truncation and Special Character Restriction in Title Edit #583

Open
champ2050 opened this issue Dec 7, 2024 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@champ2050
Copy link

champ2050 commented Dec 7, 2024

Describe the bug

  1. The toggle button on the extreme right of the page gets truncated or half-hidden when the chat header text is long in total character size (as shown in the screenshot).
  2. Editing the chat title does not support special characters. Clicking the checkbox after editing gives an error message:
    "Description can only contain alphanumeric characters and spaces."
  3. Once the user selects the model and the initial process starts, the chat modal should collapse by default. Since the model has already been selected, a collapsed view would provide more free screen real estate.

Link to the Bolt URL that caused the error

http://localhost:5173/

Steps to reproduce

  1. Go to the relevant page in the application where the chat header appears.
  2. Create or edit a chat header with a long title.
  3. Observe the UI issue where the toggle button on the right is truncated.
  4. Attempt to edit the chat title with special characters (e.g., @, #, !) and save the changes using the checkbox.
  5. Note the error message displayed.

Expected behavior

  1. The toggle button should remain fully visible, even when the chat header text is long.
  2. The chat title should allow the use of special characters.

Screen Recording / Screenshot

Issue 1 :

image

Issue 2 :

image

_Issue 3_a : Uncollapsed View ❌

image

_Issue 3_b : Collapsed View ✅

image

Platform

  • OS: Windows 10
  • Browser: Chrome Canary
  • Device: Laptop

Provider Used

Google

Model Used

Gemini exp-1121

Additional context

  • This issue may impact user experience significantly for applications with long chat titles.
  • Consider implementing wrapping or ellipses (...) for long text and allowing special characters in titles for flexibility.
@champ2050 champ2050 changed the title Minor Bugs: Chat Header UI Truncation and Special Character Restriction in Title Edit ### Minor Bugs/Fixes: Chat Header UI Truncation and Special Character Restriction in Title Edit Dec 8, 2024
@MadeInLondon
Copy link

After I studied this code the issue is in the main prompt to the LLM where it says not to use special characters due to the limitations of the WebContainer and WebAssembly. This is why I think we need to make this project run in a VM.

@thecodacus thecodacus added enhancement New feature or request good first issue Good for newcomers labels Dec 8, 2024
@thecodacus
Copy link
Collaborator

After I studied this code the issue is in the main prompt to the LLM where it says not to use special characters due to the limitations of the WebContainer and WebAssembly. This is why I think we need to make this project run in a VM.

running the project in a VM requires either hosting person to have rent a VM, which is costly.. and if you are self hosting locally the system and all the environments needs to be setup before you can do any work. not many people knows how to do that. and its different for each OS

web container runs on user's local system, and it can run even on mobile and tablet devices, which is a plus.
it has limitations on what languages it can do but for front end application nodejs is what everyone needs

we might add a local option in future but not in the new future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants