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

Simplify form #1446

Merged
merged 7 commits into from
Aug 21, 2020
Merged

Simplify form #1446

merged 7 commits into from
Aug 21, 2020

Conversation

jancborchardt
Copy link
Member

  • Hide delete icons initially to not overflow interface
  • Remove unneeded info icons and tooltips
  • Work in progress of placeholders for social profiles

Need help on displaying placeholders for social profiles, see also #1445

@jancborchardt jancborchardt added enhancement New feature or request help wanted Extra attention is needed 2. developing Work in progress design Related to the design labels Jan 28, 2020
@codecov
Copy link

codecov bot commented Jan 28, 2020

Codecov Report

Merging #1446 into master will decrease coverage by 33.09%.
The diff coverage is 22.97%.

Impacted file tree graph

@@              Coverage Diff              @@
##             master    #1446       +/-   ##
=============================================
- Coverage     67.16%   34.06%   -33.10%     
- Complexity       15       99       +84     
=============================================
  Files             5       14        +9     
  Lines            67      273      +206     
=============================================
+ Hits             45       93       +48     
- Misses           22      180      +158     
Impacted Files Coverage Δ Complexity Δ
appinfo/app.php 0.00% <ø> (ø) 0.00 <0.00> (ø)
appinfo/routes.php 0.00% <0.00%> (ø) 0.00 <0.00> (ø)
lib/AppInfo/Application.php 0.00% <ø> (ø) 1.00 <0.00> (-1.00)
lib/Controller/SocialApiController.php 0.00% <0.00%> (ø) 5.00 <5.00> (?)
lib/Service/Social/CompositeSocialProvider.php 0.00% <0.00%> (ø) 10.00 <10.00> (?)
lib/Service/Social/FacebookProvider.php 0.00% <0.00%> (ø) 10.00 <10.00> (?)
lib/Service/Social/InstagramProvider.php 0.00% <0.00%> (ø) 9.00 <9.00> (?)
lib/Service/Social/MastodonProvider.php 0.00% <0.00%> (ø) 9.00 <9.00> (?)
lib/Service/Social/TumblrProvider.php 0.00% <0.00%> (ø) 6.00 <6.00> (?)
lib/Service/Social/TwitterProvider.php 0.00% <0.00%> (ø) 11.00 <11.00> (?)
... and 13 more

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 9efb9d2...ea399a4. Read the comment docs.

@jancborchardt
Copy link
Member Author

I need help for the last part :)

Need help on displaying placeholders for social profiles, see also #1445

@jancborchardt jancborchardt force-pushed the design/form-simplifyy branch from 80e11eb to 2b213c6 Compare April 22, 2020 21:40
@jancborchardt jancborchardt requested a review from skjnldsv April 22, 2020 22:47
@jancborchardt jancborchardt added 3. to review Waiting for reviews and removed 2. developing Work in progress help wanted Extra attention is needed labels Apr 22, 2020
@jancborchardt jancborchardt marked this pull request as ready for review April 22, 2020 22:51
@jancborchardt jancborchardt requested a review from ImUrX April 22, 2020 22:51
@jancborchardt
Copy link
Member Author

Ready to review now! :)

If someone wants to help with the "displaying placeholders for social profiles, see also #1445" you are welcome, otherwise I think we can also finish this in a follow-up.

@skjnldsv
Copy link
Member

Screenshots?

<span class="property__value property__title--right">
<div>{{ readableName }}</div>
<!-- display tooltip with hint if available -->
<div v-if="info" v-tooltip.auto="info" class="property__title--icon-details icon-details" />
Copy link
Member

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

Copy link
Member Author

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?

Copy link
Member

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 ? :)

Copy link
Member Author

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'

;)

Copy link
Member

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 🙈

Copy link
Member Author

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.

Copy link
Member

Choose a reason for hiding this comment

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

Sure, your call!

Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

.property__title--icon-details {

to cleanup as well

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt jancborchardt force-pushed the design/form-simplifyy branch from 715df61 to d2d1062 Compare June 6, 2020 23:01
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
@jancborchardt jancborchardt requested a review from skjnldsv June 6, 2020 23:03
@jancborchardt
Copy link
Member Author

Fixed your feedback @skjnldsv and rebased as well, ready to review @nextcloud/contacts. :)

@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 Jul 4, 2020
@jancborchardt
Copy link
Member Author

@skjnldsv not sure about the waiting reports, they don’t seem to come back? Want to merge? :)

@skjnldsv skjnldsv closed this Jul 29, 2020
@skjnldsv skjnldsv reopened this Jul 29, 2020
@skjnldsv
Copy link
Member

That should trigger it again :)

Comment on lines +223 to +236
{ 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/…' },
Copy link
Member

@call-me-matt call-me-matt Jul 30, 2020

Choose a reason for hiding this comment

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

The placeholders did not show up when I tried it out? It's still work in progress, right?
placeholder

And because you asked: I find it easier to read when only the username is stored, not the URL. In my point of view that is redundant information to the type and just fills up the complete textfield.
image

@call-me-matt
Copy link
Member

What do you think about hiding the date picker in the same way we hide the trashcan?
image

@jancborchardt
Copy link
Member Author

Yep @call-me-matt, agree with both your points. :) I'd say in the interest of small steps, we should merge this and do those in separate pull requests though?

Especially as only showing the username instead of full URL will need some backend stuff, and ppl might have put in urls with https or http, with or without "www.", with or without "mobile." (in the case of Twitter).

@skjnldsv skjnldsv merged commit 4291725 into master Aug 21, 2020
@skjnldsv skjnldsv deleted the design/form-simplifyy branch August 21, 2020 10:19
@call-me-matt
Copy link
Member

Especially as only showing the username instead of full URL will need some backend stuff, and ppl might have put in urls with https or http, with or without "www.", with or without "mobile." (in the case of Twitter).

I think that is not too difficult to implement. For the avatar download I have already done that for most use cases. Usually its only the basename-function that is required :)

@skjnldsv skjnldsv added this to the 3.4.0 milestone Oct 1, 2020
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 design Related to the design enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants