Skip to content

Conversation

@skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Jan 24, 2017

Testing:
contacts.tar.gz

  • Popover structure
    • Css guidelines
    • Don't close settings after click
  • Clipboard
    • Tooltips
    • Fallback to input if no clipboard support
  • Shares design
    • List
    • Checkboxes
    • Don't close settings after click

Fix and finishes #14
capture d ecran_2017-02-18_18-14-11 capture d ecran_2017-02-18_18-15-23 capture d ecran_2017-02-18_18-15-47

@skjnldsv skjnldsv added 2. developing Work in progress design Related to the design labels Jan 24, 2017
@skjnldsv skjnldsv added this to the 1.5.3 milestone Jan 24, 2017
@skjnldsv skjnldsv self-assigned this Jan 24, 2017
@codecov-io
Copy link

codecov-io commented Jan 24, 2017

Codecov Report

Merging #101 into master will decrease coverage by -0.25%.
The diff coverage is 5.26%.

@@            Coverage Diff             @@
##           master     #101      +/-   ##
==========================================
- Coverage   16.31%   16.07%   -0.25%     
==========================================
  Files          49       49              
  Lines         999     1014      +15     
==========================================
  Hits          163      163              
- Misses        836      851      +15
Impacted Files Coverage Δ
...ents/addressBookList/addressBookList_controller.js 7.14% <ø> (-0.55%)
...s/components/addressBook/addressBook_controller.js 2.63% <ø> (-0.6%)
js/main.js 100% <100%> (ø)

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 45c9167...7f1ebfd. Read the comment docs.

@jancborchardt
Copy link
Member

Very nice work! Just 3 details which are probably related to the core styles:

  • top right border radius is not set
  • there is a bit too much bottom padding on the popover
  • »Share« and »Delete« are much lighter than the other item. Were you hovering »Download«? Cause they should be the same lightness.

And one thing: Because sharing is inside the menu, »Copy link« should be too. Because otherwise the icon without text will cause confusion because it’s used in the context of sharing usually. Yes, for sharing a link, but mostly in combination with the other sharing. :)

@skjnldsv
Copy link
Member Author

@jancborchardt Thanks! :)

  • I wasn't hovering it, there is some fix to do.
  • Top right indeed comes form core, will fix.
  • Makes sense for the copy link/share. Should we put the download button outside then?

@skjnldsv
Copy link
Member Author

This is what it does on stable 11 @jancborchardt
capture d ecran_2017-01-25_15-55-44

@skjnldsv
Copy link
Member Author

Backport on nextcloud/server#3286

@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Jan 26, 2017
@skjnldsv skjnldsv modified the milestones: 1.5.3, 1.5.4 Feb 2, 2017
@MorrisJobke
Copy link
Member

For me those icons don't appear in a popover but inline in the row. 😕 So the three dots menu is not there.

@skjnldsv
Copy link
Member Author

skjnldsv commented Feb 3, 2017

@MorrisJobke I added a contact build for testing. :)
But we need this backport! nextcloud/server#3286

@skjnldsv
Copy link
Member Author

Rebased.

We now should wait for 11.0.2

@skjnldsv skjnldsv force-pushed the addressbooklist-in-a-popover branch 2 times, most recently from 0c82be2 to 99469fa Compare February 12, 2017 16:53
@skjnldsv skjnldsv added 2. developing Work in progress 3. to review Waiting for reviews and removed 3. to review Waiting for reviews labels Feb 12, 2017
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv skjnldsv force-pushed the addressbooklist-in-a-popover branch from 38e50d9 to cc00c24 Compare February 18, 2017 18:13
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>

ctrl.onSelectSharee = function (item) {
// Prevent settings to slide down
$('#app-settings-header > button').data('apps-slide-toggle', false);
Copy link
Member Author

Choose a reason for hiding this comment

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

This is an ugly trick. But core is broken for popups in the settings area.
Here is the issue: https://github.com/nextcloud/server/blob/25acce7e0d992b10b930472b8138240b7bd9af13/core/js/apps.js#L108

@skjnldsv skjnldsv added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Feb 19, 2017
@skjnldsv
Copy link
Member Author

skjnldsv commented Feb 19, 2017

@nextcloud/designers @nextcloud/contacts: all clear.
Screenshots are updated on first post.

Please review! 🐤
@jancborchardt @irgendwie @Henni

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@irgendwie
Copy link
Member

irgendwie commented Mar 18, 2017

@skjnldsv The 'Copy URL' tooltip is a bit glitchy for me. When clicking 'Copy URL' the 'Copied!' tooltip appears shortly in the top left corner of the screen. When hovering the 'Copy URL' (after closing and reopening the settings) the tooltip still shows 'Copied!' - only after some time it changes back to the original help text.

Otherwise LGTM 👍

Edit: @skjnldsv broken on nc 9 (and possibly 10?)

@jancborchardt
Copy link
Member

@skjnldsv any update? Would be great if we can get this in time for Nextcloud 12 :)

@irgendwie I would say the tooltip glitch we can fix separately? :) Let’s move forward and not block this PR too long.

@skjnldsv
Copy link
Member Author

@jancborchardt this update is ready to be merged.
Just the tooltip bug @irgendwie had.

@irgendwie
Copy link
Member

@jancborchardt Would love to merge, still it would break the contacts app for nc 9 and nc 10 and would only be compatible with nc 11 and 12. Are we willing to do this?

@skjnldsv
Copy link
Member Author

For the record, I am :)

@jancborchardt
Copy link
Member

jancborchardt commented Mar 28, 2017

cc @LukasReschke @MorrisJobke @jospoortvliet @Henni @ChristophWurst for second opinions.

I would agree with @skjnldsv it’s ok for the Contacts app to only support the two latest releases. It’s a big testing workload otherwise and also contacts syncing is in core anyway. And the app in its current state is still available for Nextcloud 9 and 10.
We want people to update to new versions also for security reasons, so getting proper updated apps is another push to do so.

@Henni
Copy link
Member

Henni commented Mar 28, 2017

@jancborchardt I agree. But we should really support the latest two versions and thus might want to wait for the nc 12 release.

@MorrisJobke MorrisJobke removed their request for review March 28, 2017 15:22
@jancborchardt
Copy link
Member

@jancborchardt I agree. But we should really support the latest two versions and thus might want to wait for the nc 12 release.

Yes, good call – do you mean after or before the Nextcloud 12 release? And for when is the next release of the Contacts app planned? Nextcloud 12 will come soon. :)

@Henni
Copy link
Member

Henni commented Mar 28, 2017

@jancborchardt how about the same day as Nextcloud 12? 😉

The current milestone has a due date of April 1st. But it might make sense to delay it to the nc release.

@jancborchardt
Copy link
Member

jancborchardt commented Mar 28, 2017

@Henni cool, let’s do the Contacts app release on the same day then! :) But then let’s also merge this change already so it can be used and tested as early as possible. :) Ok @irgendwie @Henni @skjnldsv?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Related to the design enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants