Conversation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Codecov Report
@@ Coverage Diff @@
## master #173 +/- ##
==========================================
- Coverage 16% 15.58% -0.42%
==========================================
Files 50 52 +2
Lines 1050 1142 +92
==========================================
+ Hits 168 178 +10
- Misses 882 964 +82
Continue to review full report at Codecov.
|
3fd93f2 to
bbb0fcd
Compare
|
@ChristophWurst is this already up for first review or too much in-development state? :) |
|
still WIP |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
bbb0fcd to
7df5447
Compare
|
A few bugs so far:
cc @nextcloud/contacts help appreciated. :) |
@nextcloud/contacts any idea how I can distinguish between vcards from the system address book and the user address book? The data structures looks similar unfortunately, there's nothing specific to contacts from the contacts app it seems 🤔 |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
If you have access to the URI, it should contain |
Thanks. Apparently the URI for system contacts is their UID. However, I've found what I was looking for: |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
|
|
||
| if ($entry->getProperty('isLocalSystemBook') === true) { | ||
| // Cannot show details -> ignore | ||
| return; |
There was a problem hiding this comment.
Will this still show their email address though? Because that can be set in the personal details. :) The only thing which should be hidden is the details icon, not the whole entry.
There was a problem hiding this comment.
email actions are added by the server, also for internal users
There was a problem hiding this comment.
it doesn't hide the entry. it just doesn't add any action 😉
@skjnldsv you mentioned that it's easy to add that. Could you please tell me where I have to adjust the code? I presume it starts with a dedicated route in |
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Kinda figured out how to possibly do that: 026d509 |
|
@ChristophWurst found the reason (https://github.com/nextcloud/contacts/blob/contactsmenu-integration/js/components/contactList/contactList_controller.js#L142) and fixed it with a commit. Will make some changes to the url design in a follow-up pr ref. owncloud/contacts#45 (comment) |
|
@irgendwie thanks a lot \o/ |
jancborchardt
left a comment
There was a problem hiding this comment.
Can’t see any immediate issues 👍
WIP - requires nextcloud/server#3233
TODO