Skip to content

Add notification on card assignment to user, fixes #475 - #545

Merged
juliusknorr merged 8 commits into
nextcloud:masterfrom
steav:issue-475-notifications-on-card-assignment
Jul 28, 2018
Merged

Add notification on card assignment to user, fixes #475#545
juliusknorr merged 8 commits into
nextcloud:masterfrom
steav:issue-475-notifications-on-card-assignment

Conversation

@steav

Copy link
Copy Markdown
Contributor

No description provided.

@steavsteav changed the title Add notification on card assignment to user #475Add notification on card assignment to userJul 22, 2018
@steavsteav changed the title Add notification on card assignment to userAdd notification on card assignment to user, fixes #475Jul 22, 2018
Comment threadlib/Notification/Notifier.php Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can you add a rich subject as well, similar to https://github.com/nextcloud/deck/pull/545/files#diff-52c5c003756b8dcc9c5318257107346dL95? This way the user will also be linked properly

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Done

@juliusknorr

Copy link
Copy Markdown
Member

Thank you very much for your pull request @steav, looks good besides the inline comment. Can you also remove the changes to the language files. We are managing translations via transifex and those strings will be pulled from there: https://www.transifex.com/nextcloud/nextcloud

@juliusknorr

Copy link
Copy Markdown
Member

@steav Can you also add a sign-off message to the commits as described in https://github.com/nextcloud/deck#sign-your-work ?

@steav

Copy link
Copy Markdown
ContributorAuthor

Thanks you a lot @juliushaertl for your advices and your awesome work!

@juliusknorr

Copy link
Copy Markdown
Member

@steav Can you also have a look at the failing tests and add some basic ones for the new methods?

Comment threadlib/Service/CardService.php Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should only send a notification if the user assigns somebody else. If you assign yourself, there is no need for a notification.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

Done

@juliusknorr

Copy link
Copy Markdown
Member

@steav Really nice work done here. Tested and works fine. I just have one small enhancement commented inline. After that it is good to go. 😉

Steav added 7 commits July 28, 2018 12:16
Signed-off-by: Steav <steav8@gmail.com>
Signed-off-by: Steav <steav8@gmail.com>
Signed-off-by: Steav <steav8@gmail.com>
Signed-off-by: steav <steav8@gmail.com>
Signed-off-by: steav <steav8@gmail.com>
Signed-off-by: steav <steav8@gmail.com>
Signed-off-by: steav <steav8@gmail.com>
@juliusknorr
juliusknorrforce-pushed the issue-475-notifications-on-card-assignment branch from e2e832d to 476b15eCompareJuly 28, 2018 10:21
@codecov

This comment has been minimized.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
@juliusknorr
juliusknorr merged commit 769053b into nextcloud:masterJul 28, 2018
@juliusknorr

Copy link
Copy Markdown
Member

merged. 🚀 Thank you very much for your contribution @steav Further pull requests are always welcome. 😉

@juliusknorrjuliusknorr mentioned this pull request Oct 8, 2018
33 tasks
Sign up for freeto 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.

2 participants

@steav@juliusknorr