Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Communicate to the user when a chat request is made with no prompt #78

@aevo98765

Description

@aevo98765

At present the handleSubmit function for the chat page.tsx handles an empty prompt text input by just returning the function. An improvement would be to communicate to the user where they have gone wrong with an Alert.

Acceptance Criteria:

  1. When a user submits a chat request with no prompt communicate this via an alert.

Metadata

Metadata

Assignees

Labels

UXRelated to the user experienceblockedBlocked by another task or pull request

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions