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

bug: fix up grant category #6153

Merged
merged 1 commit into from
Mar 9, 2020
Merged

Conversation

thelostone-mc
Copy link
Member

@thelostone-mc thelostone-mc commented Mar 5, 2020

Description

/grants/new

  • select multiple categories
  • update categories based on grant type

/grants/

  • show right catergories under grant type
  • ensure filters work as expected with grant type & category
  • ensure grant category appears on the grant card at the bottom

/grants/<:grant-id>

  • grant categories appears as read only tags for non team members
  • team members have editable & non editable view of category (works like team section)
  • team member can add new categories
Demo

https://share.vidyard.com/watch/3WXLB5bzS9Dc4NGFyWLKwc

Refs: #5615

@@ -103,7 +103,6 @@ def grants(request):
sort_by_clr_pledge_matching_amount = None
if 'match_pledge_amount_' in sort:
sort_by_clr_pledge_matching_amount = int(sort.split('amount_')[1])
sort_by = 'pk'
Copy link
Member Author

Choose a reason for hiding this comment

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

this was removed cause it was not used anywhere

@codecov
Copy link

codecov bot commented Mar 9, 2020

Codecov Report

Merging #6153 into master will increase coverage by 0.02%.
The diff coverage is 66.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #6153      +/-   ##
=========================================
+ Coverage   28.57%   28.6%   +0.02%     
=========================================
  Files         276     276              
  Lines       24839   24836       -3     
  Branches     3634    3632       -2     
=========================================
+ Hits         7098    7104       +6     
+ Misses      17463   17455       -8     
+ Partials      278     277       -1
Impacted Files Coverage Δ
app/grants/views.py 16.7% <66.66%> (+0.1%) ⬆️
app/dashboard/embed.py 31.6% <0%> (+3.44%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b2dc1aa...f133303. Read the comment docs.

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.

3 participants