-
-
Notifications
You must be signed in to change notification settings - Fork 771
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
cleaner funded issue urls #452
Conversation
i could migrate all of the kill/submit/accept functionality.. but figured thatll be easier to do once #406 is done |
@mbeacom just resolved merge conflicts and isort issues.. can i get an 👀 ? |
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.
Other than the legacy bounty comment, lgtm.
app/assets/v2/js/pages/dashboard.js
Outdated
@@ -187,11 +187,7 @@ var refreshBounties = function(){ | |||
} else if(result['fulfiller_address'] != '0x0000000000000000000000000000000000000000'){ | |||
result['my_bounty'] = '<a class="btn font-smaller-2 btn-sm btn-outline-dark" role="button" href="#">'+result['status']+'</span></a>'; | |||
} | |||
if (result['web3_type'] == 'legacy_gitcoin') { | |||
result.action = '/legacy/funding/details?url=' + result.github_url; |
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.
Will this 💥 legacy bounty rendering?
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.
just put in a fix for htis
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.
Tests appear to be failing:
4 failed
- app/dashboard/views.py:? isort-check
- app/dashboard/tests/test_dashboard_models.py:41 DashboardModelsTest.test_bounty
- app/dashboard/tests/test_notifications.py:66 DashboardNotificationsTestCase.test_build_github_notification_killed_bounty
- app/dashboard/tests/test_notifications.py:58 DashboardNotificationsTestCase.test_build_github_notification_new_bounty
2701111 fixes the tests |
before: https://gitcoin.co/funding/details?url=https://github.com/gitcoinco/web/issues/450
after: https://gitcoin.co/issue/gitcoinco/web/450
backwards compatible: ✅