Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

JhontSouth
Copy link
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
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
Contributor

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

@tracyboehrer tracyboehrer merged commit 36927e1 into main Feb 5, 2024
13 of 15 checks passed
@tracyboehrer tracyboehrer deleted the southworks/fix/show-typing-indicator branch February 5, 2024 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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