Allow user to import contacts into custom addressbook#123
Conversation
Codecov Report
@@ Coverage Diff @@
## master #123 +/- ##
==========================================
- Coverage 15.3% 14.87% -0.44%
==========================================
Files 52 55 +3
Lines 1163 1217 +54
==========================================
+ Hits 178 181 +3
- Misses 985 1036 +51
Continue to review full report at Codecov.
|
d702330 to
e6d1110
Compare
|
IMHO, the UX would be much better if a popup opened after selecting the file to choose the addressbook in which to import it, just like the calendar app does. |
|
And implementing #89 ? |
|
@tcitworld I disagree with you. The popup on calendar just add a useless step on choosing where you want to import. Having everything on the same location is much more easier UX wise that having multiple windows that open forcing the user to look away and move his mouse somewhere else. |
|
You have a point, but it doesn't feel practical with if the list of addressbooks is too long. Let's say most people won't have many addressbooks. |
|
Yes most of them. But you just made a nice point too, I need to enable the search in case of too many addressbooks 😝 |
|
May be most of the people are using one addressbook only, but what if it's not enough? |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
It looks really good 👍 |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
Nice! As said I would just add an icon above the text like in the usual emptycontent views. :) |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
a9c56bd to
686b7c9
Compare
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
👍 all good from my side now, looks very good! :) |
|
Another review please @nextcloud/javascript? :) |
|
@jancborchardt Still waiting for the sidebar block to avoid user interaction too :) |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
Okay, I need to fix the addressbook deletion update, But since this is a bigger work, I will do it in another pr. @jancborchardt, @ChristophWurst, @MorrisJobke, @Henni, @irgendwie, @jonatoni, @xh3n1 Test: Import this big file: 500vcards.txt
Test package: contacts.tar.gz |
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
Works :-) I spotted one glitch:
Nice to have:
Related:
|
|
I just tested this PR on Nextcloud 12. I've found two issues:
I tested the 500 contacts provided by @skjnldsv and another one of mine waiting for this awesome feature to be imported! ;) |
|
@devillemereuil It's possible that your server is having trouble loading the contact you just clicked since it has received a lot of requests after the import. |
|
Possible. The contacts do not seem to be sync with CardDAV either... Weird. I'll let it settle a bit and report back if it stays the same... |
|
A few hours after uploading my VCFs, during which I even rebooted the server, I'm still having the same issues as described above... Also the contacts are not visible through CardDAV (the address books are synced as empty...). Weird. Might be something wrong in my install... |


fix #55, fix #89
Vcard test example of 500 contacts: 500.txt
@nextcloud/contacts please review