Skip to content

feat: integrate front end pretty sender into search result#571

Merged
gbirman merged 3 commits intomainfrom
gab/m-5372-integrate-front-end-pretty-sender-into-search-result
Dec 11, 2025
Merged

feat: integrate front end pretty sender into search result#571
gbirman merged 3 commits intomainfrom
gab/m-5372-integrate-front-end-pretty-sender-into-search-result

Conversation

@gbirman
Copy link
Copy Markdown
Contributor

@gbirman gbirman commented Dec 11, 2025

Summary

In an email search result, we at the moment do not indicate which sender sent which email. that can come later. but in the meantime this aggregates all the senders using .join(, ) with pretty name, which FYI can still default to email in the backend if it does not exist. As you can see in the video below there's still a fair amount of non pretty names and those are still reflected as such when you open the thread. I think getting prettier names from headers or some sort of contact matching if available/possible is up to email service here.

I take a similar approach with the time stamp, using aggregation over hits. https://linear.app/macro-eng/issue/M-5395/email-search-result-created-atupdated-are-incorrect also will fix backend timestamp in results.

Screenshots, GIFs, and Videos

CleanShot.2025-12-11.at.15.52.56.mp4

@gbirman gbirman requested a review from a team as a code owner December 11, 2025 20:27
@linear
Copy link
Copy Markdown

linear bot commented Dec 11, 2025

emailResult?.sender ||
result.email_message_search_results.at(1)?.sender ||
idToDisplayName(result.user_id);
// TODO: display sender for each message in the content hit list
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gbirman gbirman merged commit febbf79 into main Dec 11, 2025
19 checks passed
@gbirman gbirman deleted the gab/m-5372-integrate-front-end-pretty-sender-into-search-result branch December 11, 2025 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants