Display a message when there are no contacts in the contact list
Categories
(Thunderbird :: Address Book, enhancement)
Tracking
(Not tracked)
People
(Reporter: darktrojan, Assigned: darktrojan)
References
Details
Attachments
(1 file, 1 obsolete file)
Instead of a big empty space, if there are no address book contacts the list should display a message and a button to add a contact. I think the best way to do that is to define a new slot on TreeViewListbox which is only visible if there are no rows. We may need to fine-tune a few event listeners so that they only operate if there are rows.
Assignee | ||
Comment 1•2 years ago
|
||
Comment 2•2 years ago
•
|
||
The view is for displaying a list of contacts, not for other interactive widgets like buttons. If we want this behaviour, the button should just be a separate element in the DOM.
Comment 3•2 years ago
|
||
Not a button, but to show we don't have any results, you could do like we do for quick filter: https://searchfox.org/comm-central/search?q=quickFilterBar.resultsLabel.none&path=&case=true®exp=false
Updated•2 years ago
|
Assignee | ||
Comment 4•2 years ago
|
||
I'll do it another way then. I thought what I can up with was a tidy solution, but whatever.
Assignee | ||
Comment 5•2 years ago
|
||
Assignee | ||
Updated•2 years ago
|
Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/b331dfebda68
Display a message when there are no contacts in the contact list. r=aleca
Description
•