Skip to content
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

add welcome user option #391

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

DreamRimmer
Copy link
Contributor

fixes #386

src/modules/submissions.js Outdated Show resolved Hide resolved
if ( teahouse ) {
message += '\n\n' + AFCH.msg.get( 'teahouse-invite' );
}
$.when( shouldTeahouse, shouldWelcomeUser ).then( ( teahouse, welcome ) => {
Copy link
Member

Choose a reason for hiding this comment

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

I think I found a bug.

image

On the master branch, if I do this, the subumitter gets the decline message on their user talk.

With this patch loaded, if I do this, the submitter gets zero messages posted to their user talk.

Can you fix when you get a chance?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I will fix it this weekend.

@@ -300,6 +300,10 @@
<input type="checkbox" id="notifyUser" class="afch-input" checked/>
<label for="notifyUser" class="afch-label">Notify submitter</label>
</div>
<div class="afch-option">
<input type="checkbox" id="sendWelcome" class="afch-input" checked/>
Copy link
Member

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add check box option to leave AFC welcome template {{Welcome draft}}
3 participants