New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Happychat: Persist transcripts between reloads #11662
Conversation
d0b04b4
to
9561778
Compare
def957b
to
0cd121d
Compare
9561778
to
d6b3850
Compare
@jordwest This PR needs a rebase |
0cd121d
to
8efddcd
Compare
This one is still relevant, but will need a few changes/rebasing off master now that some middleware is in place. |
8efddcd
to
51fc9d3
Compare
This is now ready for testing and review - the scope is reduced and it's much simpler now that the transcript fetching is already working in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 Looks and works great! I'll plan to 🚢 this for you early next week.
Thanks for looking after this one @mattwondra! |
This stores the last 30 messages between refreshes, showing the recent message history before the transcript arrives from the server. It will also persist between sessions, so the user can see the most recent messages from any previous session.
How to test
HAPPYCHAT_TRANSCRIPT_RECEIVE
action fired, thehappychat.timeline
should show the full transcript of the recent session.