microsoft / microsoft/BotFramework-WebChat

speechRecognitionContinuous - Is speechRecognitionContinuous missing from FullBundleStyleOptions?

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

Nobody has claimed this yet.

Bot Services customer-reported question
Dominant language
HTML
Stars
1.8k
Forks
1.6k
Avg merge
22h 58m
Merged PRs (30d)
2

Description

I have a question

Hello,

Thanks for building such an amazing repository for chat bot front ends.

I'm hoping to use the speechRecognitionContinuous feature with barge in so that we can chat with our bot.

When I try to add it to the style:

export const styleOptions: StyleOptions = {
speechRecognitionContinuous: true,
accent: '#0d5257',
hideUploadButton: true,
backgroundColor: colors.background,

It yields an error advising the type doesnt exist in the full bundle.

Object literal may only specify known properties, and 'speechRecognitionContinuous' does not exist in type 'FullBundleStyleOptions'.ts(2353)

I'm using the latest react package

/workspaces/genai-team-chatbot-web # npm list botframework-webchat
genai-team-chatbot-web@0.1.0 /workspaces/genai-team-chatbot-web
└── botframework-webchat@4.18.0

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 FullBundleStyleOptions type in the React package and checking how speechRecognitionContinuous is represented in the style options. Verify whether the property is missing from the type and use the reported styleOptions example with the package's TypeScript checks; done means the property is accepted without the ts(2353) error.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.