Skip to content

Conversation

@artemanufrij
Copy link
Member

Signed-off-by: Artem Anufrij artem.anufrij@live.de

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
@artemanufrij
Copy link
Member Author

artemanufrij commented Jun 10, 2017

  • column title: color like files
  • '...' - menu: opacity like files
  • dot-icon: margin and size like files

screenshot_20170610_173350

it looks very nice in combination with #181

@codecov
Copy link

codecov bot commented Jun 10, 2017

Codecov Report

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

@@           Coverage Diff           @@
##           master     #182   +/-   ##
=======================================
  Coverage   76.12%   76.12%           
=======================================
  Files          33       33           
  Lines         955      955           
=======================================
  Hits          727      727           
  Misses        228      228

Copy link
Member

@juliusknorr juliusknorr left a comment

Choose a reason for hiding this comment

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

@artemanufrij Thanks for that change :)

Two minor issues:

  • The first and the last separator line have a different color compared to the others
  • The column heading is a bit to light compared to the files app

Both seem to be caused by the following css rule:

#boardlist tr:last-child td {
     opacity: 0.5; 
}

Signed-off-by: Artem Anufrij <artem.anufrij@live.de>
@artemanufrij
Copy link
Member Author

@juliushaertl done

<div class="hint"></div>
<div class="app-popover-menu-utils" ng-if="b.deletedAt == 0">
<button class="icon icon-more button-inline" title="More actions"></button>
<button class="icon icon-more button-inline" title="<?php p($l->t('More actions')); ?>"></button>
Copy link
Member

Choose a reason for hiding this comment

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

👍

Copy link
Contributor

Choose a reason for hiding this comment

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

Great catch!

@juliusknorr
Copy link
Member

Great @artemanufrij. Thank you :)

@juliusknorr juliusknorr merged commit d052325 into master Jun 10, 2017
@juliusknorr juliusknorr deleted the redesign-board-list branch June 10, 2017 21:47
}

#boardlist td .app-popover-menu-utils button {
opacity: 0.3;
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't really see the point in using 4 different opacity levels. Difference between 0.3 and 0.5 or 0.5 and 0.7 is barely noticable and it doesn't give away any additional message to the user.

I'm working on cleaning up opacity definitions in nextcloud/server and the idea is to use 0.5 and 1 for most of the situations, and I think this is a perfect example. Triple-dot button should have 50% opacity normally and 100% when hovered/focused/selected wherever it is used.

}

#boardlist td .app-popover-menu-utils:hover button {
opacity: 0.7;
Copy link
Contributor

Choose a reason for hiding this comment

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

Part of the above comment - opacity:1

In the long term, this should all be moved into .button-inline and .button-inline:hover, .button-inline: focus.

Copy link
Member Author

Choose a reason for hiding this comment

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

@pixelipo currently it has same behavior like files

Copy link
Contributor

Choose a reason for hiding this comment

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

That doesn't make it correct, @artemanufrij - plus it gives us a third opacity behaviour for the same button:

  • triple-dot in navigation bar: 0.5->1
  • triple-dot on card: 0.25->1
  • triple-dot on board list: 0.3->0.7

I will make a PR to Files to fix it there as well.

Copy link
Member Author

Choose a reason for hiding this comment

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

@pixelipo you are right... i focused only board list

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants