-
-
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
feat: update grants landing page #5637
Conversation
- new field added to grant model -> grant_type - new field added to pledge model -> pledge_type - admin view for tips + pledges + grants updated tabular - view updated to distinguish between grant types - fixed buggy search + shareable URI with filters
Codecov Report
@@ Coverage Diff @@
## master #5637 +/- ##
=========================================
+ Coverage 30.06% 30.1% +0.03%
=========================================
Files 248 248
Lines 21380 21395 +15
Branches 3102 3103 +1
=========================================
+ Hits 6427 6440 +13
- Misses 14677 14679 +2
Partials 276 276
Continue to review full report at Codecov.
|
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.
Approved with some minor comments - nice job!
@@ -110,6 +125,12 @@ def grants(request): | |||
if grant_stats.exists(): | |||
grant_amount = grant_stats.first().val / 1000 |
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.
maybe do the formatting to the $x k
amount in the frontend instead of here? Just thinking if someone else tries to use this context var they might be confused... probably doesn't matter either way though.... what do you think?
Description
Refers/Fixes
Testing
DEMO: https://share.vidyard.com/watch/ZhWopgeHmmTrxd5G46vhD6?
ADMIN TABULAR