Skip to content
This repository was archived by the owner on Jan 5, 2026. It is now read-only.

fix: [#6697] Typing middleware not working as expected in teams as well as web chat channel#6743

Merged
tracyboehrer merged 1 commit into
mainfrom
southworks/fix/show-typing-indicator
Feb 5, 2024
Merged

fix: [#6697] Typing middleware not working as expected in teams as well as web chat channel#6743
tracyboehrer merged 1 commit into
mainfrom
southworks/fix/show-typing-indicator

Conversation

@JhontSouth
Copy link
Copy Markdown
Collaborator

@JhontSouth JhontSouth commented Feb 2, 2024

Fixes #6697

Description

This PR allows showing the typing indicator before every message bot.

Specific Changes

  • Added ProcessTypingAsync method in ShowTypingMiddleware class.
  • Added StartTyping process to every activity iteration in the OnSendActivities method execution.

Testing

The following image shows the typing indicator being displayed between the different messages sent by the bot.
image

@JhontSouth JhontSouth requested a review from a team as a code owner February 2, 2024 17:05
@JhontSouth JhontSouth added the Automation: No parity PR does not need to be applied to other languages. label Feb 2, 2024
@JhontSouth JhontSouth changed the title fix: [#6697]Typing middleware not working as expected in teams as well as web chat channel fix: [#6697] Typing middleware not working as expected in teams as well as web chat channel Feb 2, 2024
@coveralls
Copy link
Copy Markdown
Collaborator

Pull Request Test Coverage Report for Build 384208

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 8 unchanged lines in 2 files lost coverage.
  • Overall coverage increased (+0.001%) to 78.379%

Files with Coverage Reduction New Missed Lines %
/libraries/integration/Microsoft.Bot.Builder.Integration.AspNet.Core/ServiceCollectionExtensions.cs 1 93.55%
/libraries/Microsoft.Bot.Builder/ShowTypingMiddleware.cs 7 89.39%
Totals Coverage Status
Change from base Build 384147: 0.001%
Covered Lines: 26174
Relevant Lines: 33394

💛 - Coveralls

@BruceHaley
Copy link
Copy Markdown
Contributor

✔️ No Binary Compatibility issues for Microsoft.Bot.Builder.dll

@tracyboehrer tracyboehrer merged commit 36927e1 into main Feb 5, 2024
@tracyboehrer tracyboehrer deleted the southworks/fix/show-typing-indicator branch February 5, 2024 15:29
This was referenced May 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Automation: No parity PR does not need to be applied to other languages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typing middleware not working as expected in teams as well as web chat channel

4 participants