Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
After hitting entering a message and hitting Chat, it seems to delay slightly before the message the client sent is displayed in their own chat log. Is it waiting for the form submit to return before adding it?
Would give a smoother feel to the end user if the messages they wrote appeared instantly in the chat log (with JS).
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedyes, i'm open to this.
this means we don't have access to the message id when we stick in the DOM, which i have a vague recollection being an issue. it might not be an issue now we're using push instead of polling.
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedso it seems the message id isn't necessary anymore, but i thought of some other complications.
we also need to push theming down to the client, because appending the message without a roundtrip removes the ability to override the theming of messages, filter them for smileys etc.
so i'm open to this if someone wants to create a patch that addresses the theming issues, otherwise, not so much.