-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove delete action from list, fix #1368 #1430
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1430 +/- ##
=======================================
Coverage 62.31% 62.31%
=======================================
Files 4 4
Lines 69 69
=======================================
Hits 43 43
Misses 26 26 Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it in principle. That delete button wasn't really necessary there.
But I'm a bit worried that the delete button might be hidden away a bit too much now. That 3-dot menu is far away from everything else. Not sure if it's that obvious to find.
The Mail app (which has the same layout structure) has a second instance of the 3-dot menu in the mail list. Maybe that's an option for Contacts as well?
Another thing: There's still some related CSS code in |
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
c4b3567
to
ee31758
Compare
Thanks for the catch – fixed. :)
Agree that the 3-dot-menu is too far away. This is caused by the fact that we go wide into oblivion. We should also restrict the width, just like we do for Mail (
While it has the same layout, the big difference between Mail and Contacts is that Mail is an active app – you are likely in there every day, and working a lot with the entries. Contacts is more of a passive app, where you edit stuff once in a while, and don’t delete as often as you do mails. So I’d say there’s no need for the 3-dot menu in the contact list. |
Valid point, but personally I'd be in favour of having consistent patterns across theses apps. If it looks the same, it should work the same. But you're right, this is probably better suited as a task of its own. |
Simply removes the delete icons in the contact list as mentioned by the issue at #1368 and illustrated in the screenshot. :)
Deleting a contact is still possibly through the 3-dot menu in the detail view.
Please review @skjnldsv @hanzi @ralxxx