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

"New Chat" button disappears when the question list reaches 20 items #110

Open
grapswiz opened this issue Oct 24, 2024 · 0 comments
Open

Comments

@grapswiz
Copy link

Description:
When the question list reaches 20 items, the "New Chat" button disappears, making it impossible to create a new conversation after this point.

Steps to reproduce:

  1. Start a new chat and begin adding questions.
  2. Continue starting and adding questions until there are 20 items.
  3. Observe that the "New Chat" button disappears once the 20th item is added.

Expected behavior:
The "New Chat" button should remain visible even when the question list reaches or exceeds 20 items, allowing the user to create a new conversation at any time. Ideally, the list should become scrollable when it exceeds 20 items, and the "New Chat" button should still be displayed.

Temporary Fix:
As a temporary fix, I modified the following code to work around the issue, but this is not a permanent solution.

// Original code
{list.length < MAX_CONVERSATION_LENGTH && (

// Temporary fix
{(

Environment:
webapp-conversation version: commit 291e9a0
Browser: Chrome 129.0.6668.101
OS: macOS 14.6.1 (23G93)

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

No branches or pull requests

1 participant