abi / abi/secret-llama

No Input Box Validation, User can press send even if its an empty space.

Đang mở Phù hợp với người mới
#23 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
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ả

![image](https://github.com/abi/secret-llama/assets/55340065/6b3cce8b-7695-4ab6-aa2c-46b889c560eb)

Also we can add a disable state which will be true untill model replies with answer. And for mean time we can keep both input box and button disabled.

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

Find the input component and send button in the frontend code, likely in a React component. Add validation to check for empty or whitespace-only input before enabling the button. Also implement a disabled state for both input and button while waiting for the model's response. Look for existing state management related to the chat input and model reply status.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
typescript
Lĩnh vực
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
Khá rõ ràng
Mức phù hợp với người mới
65/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.