Skip to content

Conversation

@nickvergessen
Copy link
Member

@nickvergessen nickvergessen commented Apr 1, 2021

Before After
Bildschirmfoto von 2021-04-01 16-54-00 Bildschirmfoto von 2021-04-01 16-57-22

Fixes #2949

);
$notification->setRichSubject(
(string) $l->t('{user} has shared the board %s with you.', [$params[0]]),
$l->t('{user} has shared {deck-board} with you.'),
Copy link
Member Author

Choose a reason for hiding this comment

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

not sure if we should keep "… the board …"

Copy link
Member

Choose a reason for hiding this comment

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

No strong opinions here, but I'd say the icon is already enough to indicate that it is deck related. Maybe @jancborchardt can comment about the general wording.

Comment on lines +109 to +111
$card = $this->cardMapper->find($cardId);
$stackId = $card->getStackId();
$stack = $this->stackMapper->find($stackId);
Copy link
Member Author

Choose a reason for hiding this comment

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

Is there a shorter way for this?

Copy link
Member

Choose a reason for hiding this comment

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

Not as of right now as we always use an entity and don't have any way to map joined results to it currently. I'd say we keep it like this and if we encounter more places where this would be useful we can add a helper to do this in one query.

@juliusknorr juliusknorr added this to the 1.4.0 milestone Apr 7, 2021
@stefan-niedermann stefan-niedermann linked an issue Apr 7, 2021 that may be closed by this pull request
@juliusknorr juliusknorr modified the milestones: 1.4.0, 2.0.0 Apr 13, 2021
@juliusknorr juliusknorr force-pushed the feature/noid/ros-notification-parameters branch from e3266ea to e5d716c Compare April 16, 2021 15:10
@juliusknorr
Copy link
Member

Rebased and adjusted the tests

@juliusknorr juliusknorr merged commit f7afb46 into master Apr 16, 2021
@juliusknorr juliusknorr deleted the feature/noid/ros-notification-parameters branch April 16, 2021 15:29
@nickvergessen
Copy link
Member Author

Sorry, thanks for the tests fixing I forgot about the PR

@juliusknorr
Copy link
Member

Sure thanks for the PR 👍

@juliusknorr
Copy link
Member

/backport to stable1.4

@backportbot-nextcloud
Copy link

The backport to stable1.4 failed. Please do this backport manually.

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.

Add links to deck or card in notifications

3 participants