-
-
Notifications
You must be signed in to change notification settings - Fork 775
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
Suggested Contributor #4137
Suggested Contributor #4137
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4137 +/- ##
==========================================
- Coverage 30.26% 30.25% -0.01%
==========================================
Files 206 206
Lines 16361 16365 +4
Branches 2154 2155 +1
==========================================
+ Hits 4951 4952 +1
- Misses 11234 11237 +3
Partials 176 176
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #4137 +/- ##
==========================================
- Coverage 30.19% 30.13% -0.07%
==========================================
Files 209 209
Lines 16655 16692 +37
Branches 2224 2230 +6
==========================================
+ Hits 5029 5030 +1
- Misses 11445 11481 +36
Partials 181 181
Continue to review full report at Codecov.
|
…uggest-contributor
@@ -295,7 +384,8 @@ $(document).ready(function() { | |||
repo_type: data.repo_type, | |||
featuring_date: data.featuredBounty && ((new Date().getTime() / 1000) | 0) || 0, | |||
reservedFor: reservedFor ? reservedFor.text : '', | |||
tokenName | |||
tokenName, | |||
invite: inviteContributors |
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.
I'm sending an array of usernames ['octavioamu', 'saptak']
I'm suppose you are going to get this data to make the email sending.
.order_by('-fulfillment_count') | ||
|
||
keywords_filter = Q() | ||
for keyword in keywords: |
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.
I had changed this query to work with more than one keyword and also changed the front end to send is as param, since is a GET and there is no body data.
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.
@SaptakS I made some changes so left some explanation in the comments.
…uggest-contributor
…uggest-contributor
app/assets/v2/js/pages/new_bounty.js
Outdated
$.ajax(settings).done(function(response) { | ||
let groups = { | ||
'contributors': 'Recently worked with you', | ||
'recommended_developers': 'Recomended based on skills', |
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.
Typo here Recomended
-> Recommended
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.
Looking pretty good! I loved the demo last week - can we get this finished up for the deploy this week? I know some folks are really excited to get this into production.
app/dashboard/helpers.py
Outdated
@@ -504,6 +504,41 @@ def create_new_bounty(old_bounties, bounty_payload, bounty_details, bounty_id): | |||
except Exception as e: | |||
logger.error(e) | |||
|
|||
bounty_invitees = metadata.get('invite', '') | |||
print (bounty_invitees) |
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.
leftover print statement
app/dashboard/helpers.py
Outdated
bounty_invite.inviter.add(inviter.user) | ||
bounty_invite.invitee.add(profile.user) | ||
emails.append(profile.email) | ||
print(emails) |
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.
leftover prints here
app/dashboard/helpers.py
Outdated
emails = [] | ||
inviter = Profile.objects.get(handle=new_bounty.bounty_owner_github_username) | ||
invite_url = get_bounty_invite_url(inviter, new_bounty.id) | ||
msg = "Check out this bounty that pays out" + \ |
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.
Are we happy with this copy here? @PixelantDesign @frankchen07 - I think the formatting here needs a space between the word out
and the bounty value.
@danlipert addressed your concerns. Please review. |
app/assets/v2/js/pages/new_bounty.js
Outdated
@@ -38,6 +38,94 @@ function doShowQuickstart(url) { | |||
return true; | |||
} | |||
|
|||
var procesedData; |
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.
typo: procesedData
should be processedData
Description
Suggested Contributor
Checklist
Affected core subsystem(s)
Refers/Fixes
Testing and Sign-off
Contributor
make test
and everything passed!Reviewer
Funder