Closed Bug 456840 Opened 16 years ago Closed 15 years ago

messagereader: allow easy removing of contact from address book

Categories

(Thunderbird :: Message Reader UI, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.0rc1

People

(Reporter: davida, Assigned: clarkbw)

References

Details

Attachments

(4 files)

maybe some UI in the contact editing panel?
That's where I'd expect it from the Fx parallel - accidentally bookmark, click the star again, [Remove Bookmark] is rather too familiar to me.

(Though as the painful position of [Remove Bookmark] shows, it's not an easy thing to fit in.)
Component: Message Compose Window → Message Reader UI
QA Contact: message-compose → message-reader
Alternative solutions that come to my mind:

 * add a "remove contact" button to the editing panel, as in Firefox (Fx does not ask for confirmation, while Thunderbird probably should, at least if more data has been added since the contact creation);

 * add a "remove contact" entry in the context menu (with confirmation) - less visual clutter;

 * add a "Show in address book" entry in the context menu - speeds up deletion (compared to the current interface), but also group/list handling.
I just did this up while I was waiting for Windows to rebuild.  I'll upload the patch in a second.  ( Delete ) sounds a bit too strong so I was thinking about going with ( Remove Contact ) however we use ( Delete ) everywhere else in the interface.  There is a confirm dialog for this just to prevent people from deleting a contact (which may have other data) too quickly.
Assignee: nobody → clarkbw
Status: NEW → ASSIGNED
Only quirk to this patch is that when the confirm dialog appears I hide the editContactOverly; this is done because otherwise the popup would steal the first click and make it seem like the dialog lost a click.  It would be nice to re-show the dialog after canceling delete but if I wanted a chance of sneaking this in I need to get reviewed now for strings.

asking review from standard8 since he did the original
Attachment #403538 - Flags: review?(bugzilla)
Also, I only did the theme for Mac right now.  I'll get the other themes finished but I wanted to get a review of the code on radar if possible.
Comment on attachment 403538 [details] [diff] [review]
add delete button to the editContactOverlay

r=Standard8. If you can get someone else to check Win/Linux themes (to save me some time) that'd be great.
Attachment #403538 - Flags: review?(bugzilla) → review+
magnus: would you have a chance to check this on linux?  My Linux machine is busted right now.  I expect that it should look just like the other buttons.
did some testing on my Linux VM and seems to work out fine
Comment on attachment 403538 [details] [diff] [review]
add delete button to the editContactOverlay

tested it out on all 3 platforms so looking to see if we can get this in.
Attachment #403538 - Flags: approval-thunderbird3?
Attachment #403538 - Flags: approval-thunderbird3? → approval-thunderbird3+
http://hg.mozilla.org/comm-central/rev/98ec2b48d11d
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.0rc1
Top-left is an odd place for an UI button, especially when all the other buttons are along the bottom.

Would it be better to make the dialog slightly wider, and put the Delete button between the Edit and Cancel buttons, with more space between Delete and Cancel?
Filed bug 520211 about that.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: