-
Notifications
You must be signed in to change notification settings - Fork 174
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
Simplify form #1446
Merged
Merged
Simplify form #1446
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
c70bfe5
Hide delete icons initially to not overflow interface
jancborchardt 213ca55
Remove unneeded info icons and tooltips
jancborchardt 33f4655
Work in progress of placeholders for social profiles
jancborchardt b921ebb
Fix action icons so they show on full row hover
jancborchardt a5b6b97
Un-de-emphasize h3 for better structure
jancborchardt d2d1062
Clarify wording of 'Relationship to you' and 'Related contacts'
jancborchardt ea399a4
Clean up unneeded CSS
jancborchardt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -133,7 +133,6 @@ const properties = { | |
}, | ||
anniversary: { | ||
readableName: t('contacts', 'Anniversary'), | ||
info: t('contacts', 'The date of marriage, or equivalent, of this contact'), | ||
icon: 'icon-calendar-dark', | ||
force: 'date', // most ppl prefer date for birthdays, time is usually irrelevant | ||
defaultValue: { | ||
|
@@ -220,35 +219,27 @@ const properties = { | |
value: '', | ||
type: ['facebook'], | ||
}, | ||
info: t( | ||
'contacts', | ||
'The link of the profile. e.g. https://www.facebook.com/Nextclouders/ ' | ||
), | ||
options: [ | ||
{ id: 'FACEBOOK', name: 'Facebook' }, | ||
{ id: 'GITHUB', name: 'GitHub' }, | ||
{ id: 'GOOGLEPLUS', name: 'Google+' }, | ||
{ id: 'INSTAGRAM', name: 'Instagram' }, | ||
{ id: 'LINKEDIN', name: 'LinkedIn' }, | ||
{ id: 'PINTEREST', name: 'Pinterest' }, | ||
{ id: 'QZONE', name: 'QZone' }, | ||
{ id: 'TUMBLR', name: 'Tumblr' }, | ||
{ id: 'TWITTER', name: 'Twitter' }, | ||
{ id: 'WECHAT', name: 'WeChat' }, | ||
{ id: 'YOUTUBE', name: 'YouTube' }, | ||
{ id: 'MASTODON', name: 'Mastodon' }, | ||
{ id: 'DIASPORA', name: 'Diaspora' }, | ||
{ id: 'OTHER', name: 'other Social Media' }, | ||
{ id: 'FACEBOOK', name: 'Facebook', placeholder: 'https://facebook.com/…' }, | ||
{ id: 'GITHUB', name: 'GitHub', placeholder: 'https://github.com/…' }, | ||
{ id: 'GOOGLEPLUS', name: 'Google+', placeholder: 'https://plus.google.com/…' }, | ||
{ id: 'INSTAGRAM', name: 'Instagram', placeholder: 'https://instagram.com/…' }, | ||
{ id: 'LINKEDIN', name: 'LinkedIn', placeholder: 'https://linkedin.com/…' }, | ||
{ id: 'PINTEREST', name: 'Pinterest', placeholder: 'https://pinterest.com/…' }, | ||
{ id: 'QZONE', name: 'QZone', placeholder: 'https://qzone.com/…' }, | ||
{ id: 'TUMBLR', name: 'Tumblr', placeholder: 'https://tumblr.com/…' }, | ||
{ id: 'TWITTER', name: 'Twitter', placeholder: 'https://twitter.com/…' }, | ||
{ id: 'WECHAT', name: 'WeChat', placeholder: 'https://wechat.com/…' }, | ||
{ id: 'YOUTUBE', name: 'YouTube', placeholder: 'https://youtube.com/…' }, | ||
{ id: 'MASTODON', name: 'Mastodon', placeholder: 'https://mastodon.social/…' }, | ||
{ id: 'DIASPORA', name: 'Diaspora', placeholder: 'https://joindiaspora.com/…' }, | ||
{ id: 'OTHER', name: 'Other social media', placeholder: 'https://example.com/…' }, | ||
Comment on lines
+223
to
+236
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
], | ||
}, | ||
relationship: { | ||
readableName: t('contacts', 'Relationship'), | ||
readableName: t('contacts', 'Relationship to you'), | ||
force: 'select', | ||
icon: 'icon-group', | ||
info: t( | ||
'contacts', | ||
'Specify a relationship between you and the entity represented by this vCard.' | ||
), | ||
options: [ | ||
{ id: 'SPOUSE', name: t('contacts', 'Spouse') }, | ||
{ id: 'CHILD', name: t('contacts', 'Child') }, | ||
|
@@ -266,12 +257,8 @@ const properties = { | |
}, | ||
related: { | ||
multiple: true, | ||
readableName: t('contacts', 'Related'), | ||
readableName: t('contacts', 'Related contacts'), | ||
icon: 'icon-group', | ||
info: t( | ||
'contacts', | ||
'Specify a relationship between another entity and the entity represented by this vCard.' | ||
jancborchardt marked this conversation as resolved.
Show resolved
Hide resolved
|
||
), | ||
defaultValue: { | ||
value: [''], | ||
type: ['CONTACT'], | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 still disagree with this.
We had to add this because lots of users are confused and vCards is complicated.
I don't want to remove it and I think it doesn't create any issues to leave it there
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.
Did you ever see something like this in another popular Contacts app?
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.
Let's ask the question differently, what would you say to a user that says they doesn't understand the difference between RELATED & RELATIONSHIP ? :)
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.
To that I would say that I fixed the wording via 715df61
→ to 'Relationship to you' and 'Related contacts'
;)
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.
Is it more clear? Doesn't really seems to me 🙈
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.
Yes, it’s quite clear. One thing is to put in the "Relationship to you" andthe other thing is to put in "Related contacts". Not sure how much clearer it can be.
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.
Sure, your call!