Skip to content

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

Merged
ChristophWurst merged 1 commit into
mainfrom
enhancement/store-message-preview-text-html
Aug 9, 2022
Merged

ChristophWurst merged 1 commit into
mainfrom
enhancement/store-message-preview-text-html

Conversation

@ChristophWurst

@ChristophWurst ChristophWurst commented Aug 8, 2022 •

Copy link
Copy Markdown
Member

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

kesselb commented Aug 9, 2022

Copy link
Copy Markdown
Contributor

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