Skip to content

Conversation

@Zedwag
Copy link
Contributor

@Zedwag Zedwag commented Feb 12, 2026

No description provided.

@Zedwag Zedwag requested a review from a team February 12, 2026 10:11
@Zedwag Zedwag self-assigned this Feb 12, 2026
Copilot AI review requested due to automatic review settings February 12, 2026 10:11
@Zedwag Zedwag added the 26_1 label Feb 12, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request adds the speechToTextEnabled property to the Chat component's Overview story in the React Storybook. The property is a boolean flag that controls whether speech-to-text functionality is enabled in the Chat widget, aligning with the recently added speech-to-text feature in the DevExtreme Chat component.

Changes:

  • Added speechToTextEnabled: false to the Overview story's args configuration
  • Destructured speechToTextEnabled in the render function parameters
  • Passed speechToTextEnabled prop to the Chat component instance
Comments suppressed due to low confidence (1)

apps/react-storybook/stories/chat/Chat.stories.tsx:88

  • Missing argTypes definition for speechToTextEnabled. Following the established pattern in this codebase (see Informer.stories.tsx lines 65-73 and the argTypes for other boolean properties), boolean controls should have explicit argTypes definitions. Add an argTypes entry for speechToTextEnabled with control: 'boolean' to make it interactive in the Storybook controls panel.
    argTypes: {
        user: {
            control: 'select',
            options: [firstAuthor.name, secondAuthor.name],
            mapping: {
                [firstAuthor.name]: firstAuthor,
                [secondAuthor.name]: secondAuthor,
            },
            defaultValue: firstAuthor.name,
        },
        hint: {
            control: 'text',
        },
        alerts: {
            control: 'select',
            options: ['None', 'One error', 'One error with long text', 'Three errors'],
            mapping: {
                ['None']: [],
                ['One error']: [
                    { id: 1, message: 'Error Message 1. Error Description...' }
                ],
                ['One error with long text']: [longError],
                ['Three errors']: [
                    { id: 1, message: 'Error Message 1. Error Description...' },
                    { id: 2, message: 'Error Message 2. Message was not sent' },
                    longError,
                ],
            },
            defaultValue: 'Empty',
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant