nylas-mail icon indicating copy to clipboard operation
nylas-mail copied to clipboard

First name cut off bug

Open mfid opened this issue 11 years ago • 4 comments

A little strange. The first name cut off for one of my contacts called Olivia results in her being called 'Oli'.

I haven't observed this with anyone else. I've attached both collapsed and expanded views (it's fine when expanded). I've cut the image off prematurely, but the expanded view does have both first and last names in full, as it should. Issue is with the collapsed view only, and also happens in the list of messages as well.

screenshot at nov 11 17-37-47 screenshot at nov 11 17-37-05 screenshot at nov 11 17-40-49

mfid avatar Nov 11 '15 17:11 mfid

Hey @mfid — thanks for filing this. I can't believe it, but I'm able to reproduce this in my mail, and it seems to only happen with the name Olivia. Will keep you posted.

bengotow avatar Nov 13 '15 19:11 bengotow

So... this is my favorite bug of the week. The name "Olivia" was being caught in our parser designed to shorten phrases like "Ben Gotow via LinkedIn" to "Ben Gotow". We weren't checking that "via" was actually a distinct word. I've added three additional test cases to the suite for this logic and it will be fixed in the next release. Enjoy!

bengotow avatar Nov 13 '15 19:11 bengotow

Awesome

mfid avatar Nov 13 '15 20:11 mfid

Ohh, so this is why "Trivia Scheduler" was showing up as "Tri". I assumed it was the sender's error. Confirmed fixed in the latest build. Thanks!

thephilipjones avatar Nov 17 '15 20:11 thephilipjones