Skip to content

fix: Disable follow-up suggestions while chat response is loading#418

Merged
Prajwal-Microsoft merged 1 commit intodevfrom
PSL-BUG-20378
Jul 14, 2025
Merged

fix: Disable follow-up suggestions while chat response is loading#418
Prajwal-Microsoft merged 1 commit intodevfrom
PSL-BUG-20378

Conversation

@Prasanjeet-Microsoft
Copy link
Copy Markdown
Contributor

Purpose

  • This PR improves the chat room UX by disabling follow-up suggestions while the chat API is responding.
    The component already tracked isLoading, but it wasn't applied to the follow-up question click handlers.
    Now, follow-up suggestions are disabled during loading, preventing duplicate API calls and improving flow control

Does this introduce a breaking change?

  • Yes
  • No

Golden Path Validation

  • I have tested the primary workflows (the "golden path") to ensure they function correctly without errors.

Deployment Validation

  • I have validated the deployment process successfully and all services are running as expected with this change.

What to Check

Verify that the following are valid:

  • Follow-up questions are clickable after a response is received.
  • Follow-up suggestions are disabled only during loading.
  • No extra states or incorrect disabling happens.
  • Full chat flow (user message → response → follow-up) works correctly.

@Prajwal-Microsoft Prajwal-Microsoft merged commit 0273b06 into dev Jul 14, 2025
5 checks passed
@Prasanjeet-Microsoft Prasanjeet-Microsoft deleted the PSL-BUG-20378 branch July 15, 2025 17:26
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants