Skip to content

Conversation

kaxi1993
Copy link
Contributor

Screen Shot 2019-07-19 at 15 19 38

@heatherbooker
Copy link
Contributor

Hey @kaxi1993, thanks for the PR! I haven't had a chance to check it out yet, but can you make sure documentation like the readme is updated too?

@kaxi1993
Copy link
Contributor Author

Hi @heatherbooker, sure I'll update docs

Copy link
Contributor

@heatherbooker heatherbooker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code structure (new files, indentation) looks great and so do the little jumping dots!

Can the demo be made to work with the indicator? I think that would help

  1. users understand how to use it
  2. me understand whether it works ;)

Right now, I'm a bit confused as to the difference between disabling the typing indicator entirely versus it being an appropriate moment to show it (ie, other user is actually typing).

My other comments may become irrelevant depending on the answer to the above :)

@kaxi1993
Copy link
Contributor Author

kaxi1993 commented Jul 20, 2019

Code structure (new files, indentation) looks great and so do the little jumping dots!

Can the demo be made to work with the indicator? I think that would help

  1. users understand how to use it
  2. me understand whether it works ;)

Right now, I'm a bit confused as to the difference between disabling the typing indicator entirely versus it being an appropriate moment to show it (ie, other user is actually typing).

My other comments may become irrelevant depending on the answer to the above :)

@heatherbooker sure I'll add usage of typing in demo and will update you soon

@kaxi1993 kaxi1993 closed this Jul 20, 2019
@kaxi1993 kaxi1993 reopened this Jul 20, 2019
@kaxi1993
Copy link
Contributor Author

Hey @heatherbooker, I updated demo. When you start typing in textarea, typing indicator appears in chatbot window.

I'm going to create chatbot on my website and I want to use react-chat-window. There are times when the server takes 4-5 seconds to respond to user messages, I think this indicator will be helpful in this situations.

@heatherbooker heatherbooker requested a review from dharness July 22, 2019 14:28
Copy link
Owner

@dharness dharness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaxi1993 Really solid and greatly appreciated - I just have some minor comments on style to keep the PR consistent with the existing style. More than happy to merge and release this if we can fix those semantic issues.

Thanks again!

@kaxi1993
Copy link
Contributor Author

Hi @dharness, thanks for your feedback. I fixed all of them, please review again and let me know if there is any problem.

Copy link
Owner

@dharness dharness left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is great, thanks!

@dharness dharness merged commit 56e73a7 into dharness:master Jul 23, 2019
dharness pushed a commit that referenced this pull request Jul 23, 2019
heatherbooker pushed a commit that referenced this pull request Jul 23, 2019
- buggy: message background doesn't show

This reverts commit 56e73a7.
heatherbooker pushed a commit that referenced this pull request Oct 8, 2019
* Add typing indicator

* Update readme to include typing feature

* fix sample code issue in readme

* Update demo to include typing example

* Remove vendor prefixes from typing indicator style

* Update typing indicator prop name

* Add missing comma
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.

3 participants