abi / abi/secret-llama

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

Offen Anfängerfreundlich
#23 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
TypeScript
Sterne
2.7k
Forks
172
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

![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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
2/5
Geschätzter Aufwand
1-3 Stunden
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
65/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.