Skip to content

resolve #145: skip loading delay before user messages#146

Merged
Fabilin merged 1 commit intotheopenconversationkit:masterfrom
Fabilin:145-instant-user-messages
Dec 8, 2023
Merged

resolve #145: skip loading delay before user messages#146
Fabilin merged 1 commit intotheopenconversationkit:masterfrom
Fabilin:145-instant-user-messages

Conversation

@Fabilin
Copy link
Copy Markdown
Member

@Fabilin Fabilin commented Nov 22, 2023

This PR makes it so:

  • user messages get displayed immediately instead of being subjected to the same loading time as bot messages
  • the useMessageCounter utility is publicly exported, as it is quite useful for custom chat interfaces
  • the predicate for skipping delay on messages is customizable, so custom interfaces can e.g. skip loading for messages with specific metadata

resolves #145

@Fabilin Fabilin force-pushed the 145-instant-user-messages branch 2 times, most recently from 5826256 to 04fabeb Compare November 24, 2023 21:15
@Fabilin Fabilin force-pushed the 145-instant-user-messages branch from 04fabeb to b2d3e13 Compare November 27, 2023 16:20
@francoisno francoisno added the enhancement New feature or request label Dec 4, 2023
@francoisno francoisno requested a review from elebescond December 4, 2023 15:12
@Fabilin Fabilin merged commit ca574e1 into theopenconversationkit:master Dec 8, 2023
@francoisno francoisno added this to the 23.9.0 milestone Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

User messages seem needlessly delayed

3 participants