Unplanned
Last Updated: 07 Jan 2022 12:38 by ADMIN
Erik
Created on: 01 Apr 2020 20:10
Category: KendoReact
Type: Feature Request
3
conversational ui unread indicator and chat history

I'm trying out the KendoReact Conversational UI and there are two things that I would expect to exist in the API that I can't seem to find.

 

1. Unread indicator - I'd like to mark where the last unread message was but there doesn't seem to be a way to do that with the API.

2. Load more messages - I'd like to be able to only load a certain number of messages from the chat history on initial load and then load more messages as the user scrolls (or possibly have a "load more" button) but there doesn't seem to be any callback for that.

 

I already have ideas to work around both of these with the "messageTemplate" but I wanted to check if I might be missing something obvious first.

 

-- Erik Sandberg

2 comments
Erik
Posted on: 02 Apr 2020 17:54
Those both sound like good requests. Thank you.
ADMIN
Stefan
Posted on: 02 Apr 2020 06:20

Hello, Erik,

These indeed sound like two very useful features of the Chat.

If you like I can transfer this to an official public feature request.

I would like to check if the following improvements sound good:

1)  Unread indicator - this can be part of the message data, and we will render an indicator based on the value - like none, send, seen?

------------------

2) Providing access to the onScroll event of the Chat to allow rendering more items when the user scrolls?

This can be done for now with using the ref:

https://stackblitz.com/edit/react-djfdkk?file=app/main.jsx


Regards,
Stefan
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.