Summary
The collapsed preview of an email message removes the line breaks in the message. The preview joins the text on both sides of a line break without a space.
The expanded message keeps the line breaks and reads correctly.
Examples
I saw these two examples in one thread:
- The preview shows
Hey Kyle!First,. The expanded message shows Hey Kyle! and First, on two lines.
- The preview shows
/smooth!And. The expanded message shows the two parts on two lines.
The first example is a message from me. The second example is a message from another sender.
Steps to reproduce
- Open an email thread in Macro.
- Find a message that has a line break between two parts of the text.
- Expand the message and read the two parts on two lines.
- Collapse the message.
- Read the preview text.
Result
The preview joins the two parts without a space.
Expected result
The preview keeps a space where the line break was:
Hey Kyle! First,
/smooth! And
Acceptance criteria
- The preview does not join two words across a line break.
- The preview shows one space in place of a line break.
- The preview does not show two spaces together.
- The expanded message does not change.
Optional idea
This section is a suggestion, not a requirement. I trust the Macro team to select the best solution for this codebase.
Change each line break to one space before the preview truncates the text.
Summary
The collapsed preview of an email message removes the line breaks in the message. The preview joins the text on both sides of a line break without a space.
The expanded message keeps the line breaks and reads correctly.
Examples
I saw these two examples in one thread:
Hey Kyle!First,. The expanded message showsHey Kyle!andFirst,on two lines./smooth!And. The expanded message shows the two parts on two lines.The first example is a message from me. The second example is a message from another sender.
Steps to reproduce
Result
The preview joins the two parts without a space.
Expected result
The preview keeps a space where the line break was:
Hey Kyle! First,/smooth! AndAcceptance criteria
Optional idea
This section is a suggestion, not a requirement. I trust the Macro team to select the best solution for this codebase.
Change each line break to one space before the preview truncates the text.