microsoft / microsoft/BotFramework-WebChat

Allow bypassing suggested actions

Open
#5,459 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bot Services customer-reported feature-request
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.