microsoft / microsoft/BotFramework-WebChat
Allow bypassing suggested actions
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 1.8k
- Forks
- 1.6k
- Avg merge
- 22h 58m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem?
Currently there is no way to bypass the suggested actions so the user can send another request without answering the suggested actions prompt. This leads to an infinite loop if the user attempts to ask another question without selecting either action.
Describe the suggestion or request in detail
Add middleware to handle a cancel request
dispatch({
type: 'WEB_CHAT/SEND_EVENT',
payload: { name: 'cancelPrompt' }
});
Describe alternatives you have considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Trace the suggested actions prompt and the middleware handling WEB_CHAT/SEND_EVENT. Use the provided cancelPrompt event as the starting point, then verify that a user can send another request without selecting either suggested action and that the loop no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100