-
Notifications
You must be signed in to change notification settings - Fork 176
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
Dropdown options for social media and instant messaging updated, placeholders changed to username #254
Conversation
Codecov Report
@@ Coverage Diff @@
## master #254 +/- ##
=======================================
Coverage 15.58% 15.58%
=======================================
Files 52 52
Lines 1142 1142
=======================================
Hits 178 178
Misses 964 964
Continue to review full report at Codecov.
|
js/services/vCardProperties.js
Outdated
@@ -131,7 +131,10 @@ angular.module('contactsApp') | |||
}, | |||
options: [ | |||
{id: 'FACEBOOK', name: 'Facebook'}, | |||
{id: 'INSTAGRAM', name: 'Instagram'}, | |||
{id: 'LINKEDIN', name: 'Linkedin'}, |
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.
It’s spelled LinkedIn 😉
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.
Tested and works 👍
js/services/vCardProperties.js
Outdated
{id: 'HOME', name: t('contacts', 'Home')}, | ||
{id: 'WORK', name: t('contacts', 'Work')}, | ||
{id: 'OTHER', name: t('contacts', 'Other')} | ||
{id: 'IRC', name: t('contacts', 'Irc')}, |
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 would say, that those don't need to be translated. Also I would write "IRC", because it is an abbreviation.
js/services/vCardProperties.js
Outdated
{id: 'OTHER', name: t('contacts', 'Other')} | ||
{id: 'IRC', name: t('contacts', 'Irc')}, | ||
{id: 'SKYPE', name: t('contacts', 'Skype')}, | ||
{id: 'TELEGRAM', name: t('contacts', 'Telegram')} |
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.
Please use the same indentation as for the other entries. Looks like a space vs tabs mixup. ;)
package-lock.json
Outdated
@@ -0,0 +1,4861 @@ | |||
{ |
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 don't think this is intended?
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.
Or why is this file here all of a sudden?
15bc8dc
to
124cfdc
Compare
js/services/vCardProperties.js
Outdated
{id: 'HOME', name: t('contacts', 'Home')}, | ||
{id: 'WORK', name: t('contacts', 'Work')}, | ||
{id: 'OTHER', name: t('contacts', 'Other')} | ||
{id: 'IRC', name: t('contacts', 'IRC')}, |
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.
Could you change t('contacts', 'IRC')
to 'IRC'
only - the translation is not really needed for those strings.
js/services/vCardProperties.js
Outdated
{id: 'IRC', name: 'IRC'}, | ||
{id: 'SKYPE', name:'Skype'}, | ||
{id: 'TELEGRAM', name:'Telegram'} | ||
] |
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.
"103:2 error Mixed spaces and tabs no-mixed-spaces-and-tabs" <- this is the travis error
Awesome! Can you review @nextcloud/contacts @nextcloud/javascript? :) Also cc @jpvdgiessen @qwertygc as it fixes issues you reported. Please review :) |
js/services/vCardProperties.js
Outdated
{id: 'TWITTER', name: 'Twitter'} | ||
|
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.
Maybe also adding Google+ and Pinterest?
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.
Should be the same options of socialsharing-app (https://github.com/nextcloud/socialsharing) ... So Google+ is a good idea 👍
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.
What about Reddit, Snapchat ? @MariusBluem
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.
GnuSocial, Diaspora, XMPP :)
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.
As said in the other comment let’s first start with the basics, not all and every single service we can think of. :) We can always extend later, but let’s not make this pull request too big.
This "username" thing is visible? I hope it is filled with the user's display name? |
@xh3n1 maybe check what Google Contacts and Apple Contacts offer in their selection - we should have all those in our list for sure. :) Anything else we can still add in the future. |
@jonatoni @xh3n1 here are the entries iCloud shows. For »Social network«: This is for »Instant messaging«: If those are all in the lists, we can merge the pull request. :) |
ICQ is still a thing? |
We can add mastodon ? |
|
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.
Looks good! :)
So can we go ahead and merge it like this? Further services can be added in a future pull request. :) @irgendwie @Henni @skjnldsv does one of you mind giving it a quick check? |
This should still be addressed: #254 (comment) |
Whitespace comment of @MorrisJobke @Henni was addressed, merging. :) |
@xh3n1 @jonatoni I added a comment with the remaining services to add at #130 (comment) :) |
Issues #130, #252 #216