thunderbird / thunderbird/thunderbird-android
Extract text from HTML part for message preview
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 14k
- Forks
- 2.8k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 57
Description
Checklist
- I have used the search function to see if someone else has already submitted the same feature request.
- I will describe the problem with as much detail as possible.
- This issue only contains a request for one single feature, not multiple (related) features.
App version
5.911-SNAPSHOT
Problem you are trying to solve
Sometimes the message preview text doesn't match the text that is displayed when the message is opened for viewing. This is because for messages that provide both a text/plain and text/html part we extract the preview from the text/plain part, but display the text/html part. Sometimes these parts contain different text (mostly because the applications that produce the message mess up converting HTML to plain text, i.e. by including things like the contents of <style> elements).
Suggested solution
Extract preview text from the same part that we use when displaying the message.
Screenshots / Drawings / Technical details
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Locate the message preview extraction and message display paths, then compare which MIME part each uses; the work is done when the preview is extracted from the same part used for viewing and matches the displayed message text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100