RocketChat / EmbeddedChat

An easy to use full-stack component (ReactJS) embedding Rocket.Chat into your webapp
https://rocketchat.github.io/EmbeddedChat/docs
113 stars 228 forks source link

[Feat] Display 'No Threads Found' Message in Thread Sidebar When No Threads Exist #542

Closed Giridharan002 closed 5 months ago

Giridharan002 commented 6 months ago

Description

This PR addresses the issue where the No Threads Found message is not displayed in the thread sidebar when there are no threads in the chat. The solution ensures that the message, along with an icon, is shown to indicate the absence of threads, improving the user experience by providing clear feedback.

Before fix

beforefix

After fix

https://github.com/RocketChat/EmbeddedChat/assets/123318221/ffe2a14b-fb1d-4ac2-a725-e2c40fd07068

Fixes : #529

Spiral-Memory commented 6 months ago

LGTM !

Giridharan002 commented 5 months ago

Hello @Giridharan002 thanks for the PR! Seems like you forgot to run format, can you please do that? After that, its good to go!

Hello @sidmohanty11 , I've run the formatter and pushed the changes. Can you review this once again? Thank you!