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

Show the pending message on the chat page #82

Merged
merged 5 commits into from
Nov 15, 2024

Conversation

MytsV
Copy link
Collaborator

@MytsV MytsV commented Nov 14, 2024

Fix #78

These changes are highly dependent on the dream-aim-deliver/rage-ui-kit#60. The build should fail before releasing a new UI kit version.

A message being sent will now be displayed as soon as the "send" button is clicked. It will have a "clock" icon at the bottom, and as long as it's pending the message box will be disabled.

If the sending request fails, the message bubble will turn red with an "error" icon at the button.

As only one message is allowed to be in the pending status at the time, this covers all the cases :)

Copy link

vercel bot commented Nov 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
websat-planckster ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 15, 2024 1:54pm

@maany maany merged commit 8e983bf into main Nov 15, 2024
6 checks passed
@maany maany deleted the feature-78-chat_page_all_messages branch November 15, 2024 13:54
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.

Chat page should display all the sent messages, even if they result in an error
2 participants