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

Store message (HTML) text preview in db cache #6962

Merged
merged 1 commit into from
Aug 9, 2022

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented Aug 8, 2022

This contributes the backend parts of #2579.

How to test

  1. Check out the branch
  2. Run the migration
  3. Open the app and wait for the messages to load

-> either inspect the network traffic, use the Vue tools or look directly into the database to find out most messages have a value set for preview_text. There is no guarantee that we find one, and sometimes it might be garbage due to the HTML to text conversation. But this is a start.

Tested with plain text email, HTML emails and multipart emails.

Bildschirmfoto vom 2022-08-08 19-26-07

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@kesselb kesselb force-pushed the enhancement/store-message-preview-text-html branch from eb37d13 to 1799c34 Compare August 9, 2022 08:57
@kesselb
Copy link
Contributor

kesselb commented Aug 9, 2022

Force pushed a fix for the linter

@ChristophWurst ChristophWurst merged commit e836d04 into main Aug 9, 2022
@ChristophWurst ChristophWurst deleted the enhancement/store-message-preview-text-html branch August 9, 2022 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

2 participants