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

feat: enhance ChatMessage loading state management #6195

Closed
wants to merge 1 commit into from

Conversation

Cristhianzl
Copy link
Member

This pull request includes changes to the ChatMessage component in the chat-message.tsx file to enhance the handling of the chat message loading state. The most important changes include the addition of a new state variable and modifications to the conditions for determining if the chat message is loading.

Enhancements to chat message loading state:

  • Added isBuilding state from useFlowStore to track the building state of the flow. (src/frontend/src/modals/IOModal/components/chatView/chatMessage/chat-message.tsx)
  • Modified the isLoading condition to include isBuilding and lastMessage checks, ensuring more accurate loading state management. (src/frontend/src/modals/IOModal/components/chatView/chatMessage/chat-message.tsx)

…ssage is being built to improve user experience
@Cristhianzl Cristhianzl self-assigned this Feb 7, 2025
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Feb 7, 2025
@Cristhianzl Cristhianzl closed this Feb 7, 2025
@github-actions github-actions bot added the enhancement New feature or request label Feb 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request size:XS This PR changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant