[Bug] input another question during generate result
- Ngôn ngữ chính
- TypeScript
- Star
- 2.7k
- Fork
- 172
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Hi, I just tried this application, and it is really amazing. However, I also discovered an issue during testing. When entering a prompt, if we need to input multiple lines, we usually use alt + enter to create a new line, but it seems that the application currently doesn't support this well. Additionally, I noticed that when the backend is generating a response, if we continue to input a prompt, it can actually be submitted. This should not be allowed.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Look for the frontend component handling text input and submission, likely in a React component. Find where the 'generate' state is managed and where the submit handler is called. Prevent new line input via alt+enter and disable the input or button while a response is being generated. Test by running the app locally and simulating the described behavior.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, typescript
- Lĩnh vực
- desktop, frontend
- Loại issue
- Lỗi
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 65/100