Text content of First record column overlaps Address Book Field column in `Import Address Book File - Match field names` dialog
Categories
(MailNews Core :: Import, defect, P3)
Tracking
(Not tracked)
People
(Reporter: thomas8, Unassigned)
Details
(Keywords: good-first-bug)
Attachments
(2 files)
As seen in screenshot, just slightly longer text content of First record column overlaps Address Book Field column in Import Address Book File - Match field names dialog, which looks distorted. We need some smarter CSS overflow handling here, also for long texts in Notes field.
STR
- Save sample
testcase.csvfile from attachment 9299711 [details] to a local file system folder. The csv should have:
- field name in first row which deviates from default TB field name, e.g.
Email(to triggerMatch field namesdialog) - a longer email address like johnny.johnson@supporthub.example-site.com
- a
Notesfield filled with more text.
- Tools > Import > Import from a file > Continue
- Import Address Books > Continue
- Comma or tab separated file (.csv, .tsv) > Continue
- In the
Select an address book filedialog: choosetestcase.csvfile from step 1 > Open
Actual (see screenshot)
First recordcolumn overlapsAddress Book Fieldcolumn- long text in
Notesfield grows the match field table out of proportions
Expected
- No overlap of text in First Record column
- smarter overflow (scroll bar?) for long text fields like
Notes - While we are here, might also want to handle overflow of longer field names from external CSVs in
Source Fieldcolumn
Comment 2•3 years ago
|
||
This can be fixed by making those field break all words, and truncate the notes field, with maybe adding a tooltip on hover to read the whole thing if users needs.
Not a big priority, so marking this as P3 if anyone want to take it, but I'm not assigning anyone to this right now.
Comment 3•3 years ago
|
||
For anyone interested, likely the code is around here: https://searchfox.org/comm-central/rev/9928839e0c4686ae45939f416d64ce15ac113113/mailnews/import/content/fieldMapImport.js#137
Description
•