microsoft / microsoft/BotFramework-WebChat

Store state variable to identify the stage of bot speech

Open
#4,613 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?

I want to understand when the bot is currently speaking, and when it completes the speech, so that I can load the next incoming activity to the screen.

Describe the suggestion or request in detail

I suggest, can we keep a state variable in the store, to denote, the status of speech by the bot currently.
Eg: Non-Functional, Speaking, Not-Speaking.

Describe alternatives you have considered

No response

Additional context

I am attaching the list of states that are currently accessible:(taken from a console.log(state))
image

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

Start by locating the store state represented in the attached console output and tracing where bot speech begins and completes. Define how the proposed Non-Functional, Speaking, and Not-Speaking states should be exposed, and consider the request complete when consumers can distinguish speech completion well enough to load the next activity.

Written by the indexing model from the issue text.

Assessment

Tech stack
html
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.