flutter_chat_ui icon indicating copy to clipboard operation
flutter_chat_ui copied to clipboard

Other User(s) Typing Indicator

Open cody1024d opened this issue 3 years ago • 13 comments

I think it would be super useful to have specific customization related to showing a typing indicator. I believe the ability is probably there, through the use of a Custom Cell, but it will be a bit hackier/difficult. I believe the framework could supply this ability, and support consistent styling/theming of the typing bubble.

cody1024d avatar May 24 '22 12:05 cody1024d

Want to add a bit more --- the hack I outlined above has the annoying part that it will still try to show an avatar. In my use-case, I want to be able to show a typing indicator, but not show an avatar on that one custom cell.

This is kind of possible using the avatarBuilder cutomizable function, however this only exposes the userId, and doesn't allow the fallback of using the default avatar (like I want for my case). Specifically; I want to use the default avatar in all cases BUT the case of the typing message.

cody1024d avatar May 25 '22 17:05 cody1024d

This should be a specific widget, without hacks, to be added.

demchenkoalex avatar Jun 13 '22 21:06 demchenkoalex

Any idea when this feature will be available?

Yahllil avatar Nov 14 '22 16:11 Yahllil

Found some issues in RTL languages, need to fix it, then release.

demchenkoalex avatar Nov 14 '22 16:11 demchenkoalex

Found some issues in RTL languages, need to fix it, then release.

we've been waiting for this for a long time :)

malikdoksoz avatar Dec 09 '22 12:12 malikdoksoz

Hi! Thank for your amazing chat. Is this feature available yet?

Lammpo avatar Jan 15 '23 17:01 Lammpo

it is broken in RTL and I can't find motivation to finish this for 2 months already haha, available if chat is used from the repo directly though

Simulator Screen Shot - iPhone 14 Pro Max - 2023-01-16 at 10 07 39

demchenkoalex avatar Jan 16 '23 09:01 demchenkoalex

Hey 😁 What's the status on this one?

What do you mean by "it is broken on RTL"? What is the behaviour? Moreover, what is the expected behaviour when multiple users are typing?

Thank you for your amazing job on this package 🎉

AdrKacz avatar Feb 17 '23 16:02 AdrKacz

Simulator Screen Shot - iPhone 14 Pro Max - 2023-02-17 at 22 13 26

demchenkoalex avatar Feb 17 '23 21:02 demchenkoalex

It is working correctly for multiple users typing. No updates here, I am taking a break.

demchenkoalex avatar Feb 17 '23 21:02 demchenkoalex

Found some issues in RTL languages, need to fix it, then release.

If it's what I think it is, I think I fixed it and opened a pull request

It sets the writing direction for each message by checking the language (and the input too) so the ! ? etc are all in the correct place

AmirC123 avatar Feb 19 '23 10:02 AmirC123

Super thank you very much 😁 That would be awesome! Would you need any help?

AdrKacz avatar Feb 19 '23 12:02 AdrKacz

It is not it, question was about typing indicator and it is broken :)

Screenshot 2023-02-20 at 08 12 56

demchenkoalex avatar Feb 20 '23 07:02 demchenkoalex