-
Notifications
You must be signed in to change notification settings - Fork 279
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
Assign users to cards #314
Conversation
b763794
to
7c4d62f
Compare
500a184
to
9d10644
Compare
Codecov Report
@@ Coverage Diff @@
## master #314 +/- ##
==========================================
+ Coverage 76.83% 78.22% +1.38%
==========================================
Files 36 38 +2
Lines 1131 1194 +63
==========================================
+ Hits 869 934 +65
+ Misses 262 260 -2 |
f248e8f
to
7c8532c
Compare
This is ready for testing/review. @pixelipo @artemanufrij Would be cool if you could give it a try. |
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.
Works quite nicely! Good work, @juliushaertl
I've just made a few small comments regarding CSS
css/style.scss
Outdated
background: $color-lightgrey; | ||
display: flex; | ||
position: relative; | ||
|
||
.card-options { | ||
opacity: 0.3; |
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.
we still need this one, I think (but maybe it should be 0.5
instead).
templates/part.board.sidebarView.php
Outdated
@@ -18,7 +18,9 @@ | |||
<div class="tabsContainer"> | |||
<div id="commentsTabView" class="tab commentsTabView" ng-if="status.boardtab==0 || !status.boardtab"> | |||
|
|||
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2" style="width:100%;" title="Choose a user to assign" placeholder="Assign users ..." on-select="aclAdd(status.addSharee)" search-enabled="true"> | |||
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2" style="width:100%;" | |||
title="Choose a user to assign" placeholder="Assign users ..." |
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.
missing translation strings
templates/part.board.sidebarView.php
Outdated
@@ -18,7 +18,9 @@ | |||
<div class="tabsContainer"> | |||
<div id="commentsTabView" class="tab commentsTabView" ng-if="status.boardtab==0 || !status.boardtab"> | |||
|
|||
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2" style="width:100%;" title="Choose a user to assign" placeholder="Assign users ..." on-select="aclAdd(status.addSharee)" search-enabled="true"> | |||
<ui-select ng-if="boardservice.canShare()" ng-model="status.addSharee" theme="select2" style="width:100%;" |
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 the inline style (width
) really needed here?
css/style.scss
Outdated
display: flex; | ||
margin-bottom: 5px; | ||
margin-top: 20px; | ||
min-height: 30px; |
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 min-height
really needed?
css/style.scss
Outdated
h4 { | ||
padding-top: 5px; | ||
padding-bottom: 5px; | ||
border: none; |
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.
not needed?
css/style.scss
Outdated
} | ||
|
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.
Empty lines
@juliushaertl I made a couple of commits here, I hope you don't mind. I think they make the whole
|
Thanks for the commits. There is a small issue when no card description is set. I'll take care of that. |
@pixelipo Fixed. Thank you. |
09d6580
to
1dcc664
Compare
@juliushaertl I checked out pr #314 and tried to assign users: Fetching the user list fails. |
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
Signed-off-by: Marin Treselj <marin.treselj@forlagshuset.no>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
1dcc664
to
8f835f5
Compare
@ossie Thanks for giving it a try. That migh be caused when trying it before 9b54d1c#diff-70c43e8d89ea7f7d5e64f83246f17ed0R50 was added to the PR, and running in debug mode. At least i could not reproduce it anymore. Let's merge now. Feel free to open an issue if that sill occurs on master. |
This implements #11
TODO:
Notify only assigned users (requires Add notifications for overdue cards and board sharing #309)Lets notify all for now