-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
feat(files_sharing): add send mail toggle #50064
base: master
Are you sure you want to change the base?
Conversation
f178f55
to
4372d7a
Compare
Why not put it to true straight away? |
This sounds okay, but should not require another review cycle? cc: @skjnldsv |
For new internal shares, show the user a toggle for them configure if they want to send the share receiver a notification mail. This is subject to wether the configured user has an email send up Signed-off-by: nfebe <[email protected]>
4372d7a
to
c43bbd2
Compare
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.
Addressed.
@@ -329,8 +335,8 @@ export default { | |||
data() { | |||
return { | |||
writeNoteToRecipientIsChecked: false, | |||
sendNotificationMailOnCreation: true, |
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.
sendNotificationMailOnCreation: true, | |
sendNotificationMailOnCreation: true, |
Being the customer who opened the ticket that lead to the issue #49954, this would not fix our initial problem. Our users have to accept shares, and are used to accept the shares by the link in the mail. Like hier in a gif from our user documentation. The link in the mail directly accepts the share. Now the shares are listed as pending, but users do not find those. They get notifications about changes on shared folders and if they open the internal links from the notfications, they get a file not found error. No mention of the pending shares. Then they contact the support. So i am not against the optional mails presented here in general, but would love an admin option to overrule it and enforce the mails. Kind regards |
Hello @sushifrick thanks for you comment, I am afraid the issue you described is completely different from the one the linked ticket is resolving.
It would be nice to check back on your ticket to make sure the right thing is being addressed. |
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.
Didn't test, but looks good.
I think for such a critical thing you should add a test that ensures the mail is sent/not sent based on the toggle input.
Dear @nfebe,
I do not think so. The problem is not that link in the mails do not accept the share. The problem is that the mails simply do not exist anymore right now. I have no idea, what links are in the mail and weather those links might or might not accept the share. I would hope so, as this was the state before. I am not even sure when the mails went missing, but each internal share did notify the receivers via mail before. Might be a couple of versions back, when it went missing, though. But I want to emphasize, that this new optional email notifications are different from how it was before. Each new share triggered a (non optional) mail, even independent on the users notification settings. And that was a good thing. Users need to know about new shares. And as the admin I would like to force those mails again, or at least be able set the default to true. This is missing here. |
Hello @sushifrick in that case #49898 solves your problem and then this PR gives the user control over the behavior in the UI. |
Summary
For new internal shares, show the user a toggle for them configure if they want to send the share receiver a notification mail.
This is subject to whether the configured user has an email send up
Screenshots
TODO