AB rewrite broke the fallback algorithm for `View > Show Name As > Last, First` when Last name and First name are not present on the contact's card. **STR** 1) Have these contacts in your local AB: First | Last | Display | Email | Company ----- | ---- | ------- | ----- | ------- | | Anne Adams | aa@asdf.com | | | | comp@asdf.com | Computer-Company | | | johnxxx@c.com | Tom | Doe | Tom Doe | td@c.com 2) In main AB, select `View > Show Name As > Last, First` (required step). **Actual Result** Your list of AB entries (name column) now looks like this: ```` , (that's Anne, don't you see?) , (that's Computer-Company) , (that's John) Doe, Tom ```` - Visually odd: Loads of meaningless commas (`,`) in the name column. - Lots of valid contacts harder to distinguish as they are not showing anything in the "Name" column. - Regression: Existing fall back algorithm *fails* (compare release version, which will always display *something* in the name field; see expected result). - Easy to identify contacts without Last and First name; however, it's like forcing users to fill in those fields for a useful names experience, which they may not be ready to do. Instead, we should offer optional colums for First name and Last name fields. **Expected Result** ```` Anne Adams (RFE: first use display name as fallback) Computer-Company (regression-fix: use company field as fallback) Doe, John (regular entry: Last, First) johnxxx (regression-fix: use local part of email address as fallback) ```` Imo, we should fix the existing fallback algorithm which regressed: When Last Name and First Name are not filled, show data from other fields in the name column instead: - Company Name - Local part of email address I suggest to enhance the fallback and start with display name first (as it's technically possible to have display name without Last and First name filled): - Display Name - Company Name - Local part of email address For polishing: - Can we have some way of identifying list entries where Last name, First name fields are empty and the fallback is used? In current release, we are just sorting fallback names into the Last, First sequence. Options: - some visual hint where fallback names have been used, e.g.: - use italics for fallback names (whilst keeping them in alphabetical order) - prepend/overlay some other visual indication - sort all fallbacks to the top, e.g. by prepending some special character to the fallback name: ~ Anne Adams ~ Computer Company ~ johnxxx Doe, Tom - no indication in Names colum; instead, allow user to display Last name and First name columns Maybe italics could work.
Bug 1631201 Comment 0 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Something broke the fallback algorithm of address book's 'Name' column for `View > Show Name As > Last, First` when Last name and First name are not present on the contact's card. **STR** 1) Have these contacts in your local AB: First | Last | Display | Email | Company ----- | ---- | ------- | ----- | ------- | | Anne Adams | aa@asdf.com | | | | comp@asdf.com | Computer-Company | | | johnxxx@c.com | Tom | Doe | Tom Doe | td@c.com 2) In main AB, select `View > Show Name As > Last, First` (required step). **Actual Result** Your list of AB entries (name column) now looks like this: ```` , (that's Anne, don't you see?) , (that's Computer-Company) , (that's John) Doe, Tom ```` - Visually odd: Loads of meaningless commas (`,`) in the name column. - Lots of valid contacts harder to distinguish as they are not showing anything in the "Name" column. - Regression: Existing fall back algorithm *fails* (compare release version, which will always display *something* in the name field; see expected result). - Easy to identify contacts without Last and First name; however, it's like forcing users to fill in those fields for a useful names experience, which they may not be ready to do. Instead, we should offer optional colums for First name and Last name fields. **Expected Result** ```` Anne Adams (RFE: first use display name as fallback) Computer-Company (regression-fix: use company field as fallback) Doe, John (regular entry: Last, First) johnxxx (regression-fix: use local part of email address as fallback) ```` Imo, we should fix the existing fallback algorithm which regressed: When Last Name and First Name are not filled, show data from other fields in the name column instead: - Company Name - Local part of email address I suggest to enhance the fallback and start with display name first (as it's technically possible to have display name without Last and First name filled): - Display Name - Company Name - Local part of email address For polishing: - Can we have some way of identifying list entries where Last name, First name fields are empty and the fallback is used? In current release, we are just sorting fallback names into the Last, First sequence. Options: - some visual hint where fallback names have been used, e.g.: - use italics for fallback names (whilst keeping them in alphabetical order) - prepend/overlay some other visual indication - sort all fallbacks to the top, e.g. by prepending some special character to the fallback name: ~ Anne Adams ~ Computer Company ~ johnxxx Doe, Tom - no indication in Names colum; instead, allow user to display Last name and First name columns Maybe italics could work.