This is a migrated thread and some comments may be shown as answers.

Separate the component into 2

5 Answers 73 Views
Conversational UI
This is a migrated thread and some comments may be shown as answers.
Brad
Top achievements
Rank 1
Brad asked on 09 Jun 2020, 02:28 PM

Can the conversationalUI component be separated into 2: an input/send component, and a conversation output component.

We have a requirement to have chat window next to a livestream with the input bar stretching below both.

If that is not possible, is it possible to have 2 conversationalUI on screen and hide the input bar on one, and hide the output stream on the other 

5 Answers, 1 is accepted

Sort by
0
Brad
Top achievements
Rank 1
answered on 09 Jun 2020, 04:15 PM
Also, is it possible to make the height of the component smaller?
0
Svet
Telerik team
answered on 11 Jun 2020, 10:32 AM

Hi Brad,

Indeed, the requirement of splitting the Conversational UI component in two separate components isn't available as a built-in feature. However, it could be achieved by using two Conversational UI components where with the help of some custom CSS it is possible to hide the input for one of the components and the messages area for the other. Please check the following example demonstrating such approach:

https://stackblitz.com/edit/angular-qblvms?file=app/app.component.ts

The example also shows how to change the height of the Conversational UI component using CSS.

I hope the provided suggestion helps. But still the provided example is based on some custom CSS rather than on a built-in feature of Kendo UI for Angular. Thus using it should be at the developer own discretion. Please let us know in case we can provide any additional information or details on this case. Thank you.

Regards,
Svetlin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Brad
Top achievements
Rank 1
answered on 15 Jun 2020, 02:26 PM
Great Svetlin, thanks for the advice. Will give this all a try right now.
0
Svet
Telerik team
answered on 16 Jun 2020, 09:02 AM

Hi Brad,

Sure, take your time and feel free to write back.

Regards,
Svetlin
Progress Telerik

Progress is here for your business, like always. Read more about the measures we are taking to ensure business continuity and help fight the COVID-19 pandemic.
Our thoughts here at Progress are with those affected by the outbreak.
0
Brad
Top achievements
Rank 1
answered on 17 Jun 2020, 01:44 PM
Hey Svetlin, all worked well.  my input and output had different parent elements, so had to wrap each in their own named div and used that to control the styling.  but all in all it is working well.  thanks for the tips
Tags
Conversational UI
Asked by
Brad
Top achievements
Rank 1
Answers by
Brad
Top achievements
Rank 1
Svet
Telerik team
Brad
Top achievements
Rank 1
Share this question
or