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

Closed
opened 2026-02-16 10:15:55 -05:00 by yindo · 1 comment
Owner

Originally created by @grapswiz on GitHub (Oct 24, 2024).

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 291e9a067b
Browser: Chrome 129.0.6668.101
OS: macOS 14.6.1 (23G93)

Originally created by @grapswiz on GitHub (Oct 24, 2024). 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 291e9a067bbb886dd814f19b3b0c9c0dbb346a92 Browser: Chrome 129.0.6668.101 OS: macOS 14.6.1 (23G93)
yindo closed this issue 2026-02-16 10:15:55 -05:00
Author
Owner

@marsDes commented on GitHub (Feb 27, 2025):

yes it set MAX_CONVERSATION_LENGTH
but i think u need delete conversation like this

Image

see my project dify-conversation

@marsDes commented on GitHub (Feb 27, 2025): yes it set MAX_CONVERSATION_LENGTH but i think u need delete conversation like this ![Image](https://github.com/user-attachments/assets/7d50effc-935e-4509-983a-d6b7f8d5067b) see my project [dify-conversation](https://github.com/marsDes/dify-conversation)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/webapp-conversation#46