Skip to content
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

FIX: build chat message excerpt for thread preview #26765

Merged
merged 3 commits into from
Apr 26, 2024

Conversation

dbattersby
Copy link
Contributor

@dbattersby dbattersby commented Apr 26, 2024

Follow up to #26712 to account for older threads that don't have a persisted excerpt, as this was previously generated on every page load.

This change allows us to build the excerpt on the fly when none exists, fixing the issue of missing message excerpts for thread previews (within channel) and thread lists (on mobile/desktop).

@github-actions github-actions bot added the chat PRs which include a change to Chat plugin label Apr 26, 2024
@dbattersby dbattersby merged commit 09f2a42 into main Apr 26, 2024
16 checks passed
@dbattersby dbattersby deleted the build-excerpt-for-thread-preview branch April 26, 2024 06:29
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/chat-replies-missing-excerpt/305991/2

@dsims
Copy link
Contributor

dsims commented Apr 30, 2024

There appears to be the same problem with in_reply_to_serializer.rb too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chat PRs which include a change to Chat plugin
4 participants