-
-
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
Activity stream #1732
Activity stream #1732
Conversation
app/retail/views.py
Outdated
'new_bounty': 'fa-money-bill-alt', | ||
'work_done': 'fa-check-circle', | ||
} | ||
def add_view_props(activity): |
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.
E306 expected 1 blank line before a nested definition, found 0
Codecov Report
@@ Coverage Diff @@
## master #1732 +/- ##
==========================================
- Coverage 29.08% 29.04% -0.05%
==========================================
Files 134 134
Lines 10101 10133 +32
Branches 1328 1338 +10
==========================================
+ Hits 2938 2943 +5
- Misses 7058 7085 +27
Partials 105 105
Continue to review full report at Codecov.
|
} | ||
|
||
|
||
def add_view_props(activity): |
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.
E303 too many blank lines (2)
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.
LGTM after 6ba811f
app/app/urls.py
Outdated
@@ -170,6 +170,8 @@ | |||
url(r'^mission/?', retail.views.mission, name='mission'), | |||
re_path(r'^results/?(?P<keyword>.*)/?', retail.views.results, name='results_by_keyword'), | |||
re_path(r'^results/?', retail.views.results, name='results'), | |||
url(r'^activity/?', retail.views.activity, name='activity'), | |||
url(r'^mission/?', retail.views.mission, name='mission'), |
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.
mission is in here twice now
|
||
|
||
def token_by_name(name): | ||
for token in tokens: |
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.
tokens
is undefined in this scope.
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.
yea i fixed this in master and now we good https://gitcoin.co/activity
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 pushed a fix as soon as it popped on rollbar the other day? 🤔 2325aa7
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.
thx; i think i must have fixed another 500 issue on /activity then
WIP to review
fixes #925