Skip to content
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

Merged
merged 1 commit into from
Jul 13, 2017

Conversation

xh3n1
Copy link
Member

@xh3n1 xh3n1 commented Jul 5, 2017

Issues #130, #252 #216

@codecov
Copy link

codecov bot commented Jul 5, 2017

Codecov Report

Merging #254 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #254   +/-   ##
=======================================
  Coverage   15.58%   15.58%           
=======================================
  Files          52       52           
  Lines        1142     1142           
=======================================
  Hits          178      178           
  Misses        964      964
Impacted Files Coverage Δ
js/services/vCardProperties.js 18.18% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update aa28aa5...25437b9. Read the comment docs.

@@ -131,7 +131,10 @@ angular.module('contactsApp')
},
options: [
{id: 'FACEBOOK', name: 'Facebook'},
{id: 'INSTAGRAM', name: 'Instagram'},
{id: 'LINKEDIN', name: 'Linkedin'},
Copy link
Member

@MariusBluem MariusBluem Jul 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It’s spelled LinkedIn 😉

@xh3n1 xh3n1 changed the title Dropdown options for social media and instant messaging updated Dropdown options for social media and instant messaging updated, placeholders changed to username Jul 7, 2017
@MorrisJobke MorrisJobke added the 3. to review Waiting for reviews label Jul 7, 2017
Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works 👍

{id: 'HOME', name: t('contacts', 'Home')},
{id: 'WORK', name: t('contacts', 'Work')},
{id: 'OTHER', name: t('contacts', 'Other')}
{id: 'IRC', name: t('contacts', 'Irc')},
Copy link
Member

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.

{id: 'OTHER', name: t('contacts', 'Other')}
{id: 'IRC', name: t('contacts', 'Irc')},
{id: 'SKYPE', name: t('contacts', 'Skype')},
{id: 'TELEGRAM', name: t('contacts', 'Telegram')}
Copy link
Member

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. ;)

@@ -0,0 +1,4861 @@
{
Copy link
Member

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?

Copy link
Member

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?

@xh3n1 xh3n1 force-pushed the dropdown_options branch 3 times, most recently from 15bc8dc to 124cfdc Compare July 7, 2017 11:21
{id: 'HOME', name: t('contacts', 'Home')},
{id: 'WORK', name: t('contacts', 'Work')},
{id: 'OTHER', name: t('contacts', 'Other')}
{id: 'IRC', name: t('contacts', 'IRC')},
Copy link
Member

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.

{id: 'IRC', name: 'IRC'},
{id: 'SKYPE', name:'Skype'},
{id: 'TELEGRAM', name:'Telegram'}
]
Copy link
Member

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

@jancborchardt
Copy link
Member

Awesome! Can you review @nextcloud/contacts @nextcloud/javascript? :)

Also cc @jpvdgiessen @qwertygc as it fixes issues you reported. Please review :)

{id: 'TWITTER', name: 'Twitter'}

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?

Copy link
Member

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 👍

Copy link
Member Author

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

Copy link
Member

@blizzz blizzz Jul 7, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GnuSocial, Diaspora, XMPP :)

Copy link
Member

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.

@blizzz
Copy link
Member

blizzz commented Jul 7, 2017

This "username" thing is visible? I hope it is filled with the user's display name?

@jancborchardt
Copy link
Member

@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.

@jancborchardt
Copy link
Member

@jonatoni @xh3n1 here are the entries iCloud shows.

For »Social network«:
screenshot from 2017-07-10 11-38-07
Only one thing: Let’s add Instagram since that’s very popular.
All entries have »Username« as placeholder, except Twitter which prepends an @ as you can see.

This is for »Instant messaging«:
screenshot from 2017-07-10 11-38-42
All entries have »Username« as placeholder.

If those are all in the lists, we can merge the pull request. :)

@blizzz
Copy link
Member

blizzz commented Jul 10, 2017

ICQ is still a thing?

@qwertygc
Copy link

We can add mastodon ?

@blizzz
Copy link
Member

blizzz commented Jul 10, 2017

@qwertygc cf. #254 (comment)

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.

Copy link
Member

@jancborchardt jancborchardt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! :)

@jancborchardt
Copy link
Member

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?

@Henni
Copy link
Member

Henni commented Jul 12, 2017

This should still be addressed: #254 (comment)
Otherwise code looks good (currently not able to actually test it).

@jancborchardt
Copy link
Member

Whitespace comment of @MorrisJobke @Henni was addressed, merging. :)

Congrats on your first pull request @xh3n1 @jonatoni! :)

@jancborchardt
Copy link
Member

@xh3n1 @jonatoni I added a comment with the remaining services to add at #130 (comment) :)

@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants