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

#4515 - GRANTS - Adding sorting #4518

Merged
merged 3 commits into from
May 31, 2019
Merged

#4515 - GRANTS - Adding sorting #4518

merged 3 commits into from
May 31, 2019

Conversation

kuhnchris
Copy link
Contributor

@kuhnchris kuhnchris commented May 30, 2019

Description

add sorting for subscriptions, cancelled_subscriptions and contributors

Refers/Fixes

Fixes: #4515

Testing

Works

Thanks!

... for subscriptions, cancelled_subscriptions and contributors
@codecov
Copy link

codecov bot commented May 30, 2019

Codecov Report

Merging #4518 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4518   +/-   ##
=======================================
  Coverage   30.02%   30.02%           
=======================================
  Files         209      209           
  Lines       16886    16886           
  Branches     2278     2278           
=======================================
  Hits         5070     5070           
  Misses      11619    11619           
  Partials      197      197
Impacted Files Coverage Δ
app/grants/views.py 13.88% <0%> (ø) ⬆️

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 c31bc1f...898683b. Read the comment docs.

@codecov
Copy link

codecov bot commented May 30, 2019

Codecov Report

Merging #4518 into master will not change coverage.
The diff coverage is 0%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #4518   +/-   ##
=======================================
  Coverage   30.17%   30.17%           
=======================================
  Files         209      209           
  Lines       16886    16886           
  Branches     2278     2278           
=======================================
  Hits         5095     5095           
  Misses      11594    11594           
  Partials      197      197
Impacted Files Coverage Δ
app/grants/views.py 13.88% <0%> (ø) ⬆️

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 9e9e414...73d254f. Read the comment docs.

@danlipert
Copy link
Contributor

Hey @kuhnchris - why can't you test this locally? Just create a grant, then use test users to subscribe to it and take other actions to see if they are ordered correctly in the page.

@kuhnchris
Copy link
Contributor Author

kuhnchris commented May 30, 2019

Hey @kuhnchris - why can't you test this locally? Just create a grant, then use test users to subscribe to it and take other actions to see if they are ordered correctly in the page.

because they need to separated by days, or do you happen to have a grant ready locally where you could test this? Cause I surely do not, I'm eagerly awaiting the test-data PR to get done...

@danlipert
Copy link
Contributor

Hey @kuhnchris - why can't you test this locally? Just create a grant, then use test users to subscribe to it and take other actions to see if they are ordered correctly in the page.

because they need to separated by days, or do you happen to have a grant ready locally where you could test this? Cause I surely do not, I'm eagerly awaiting the test-data PR to get done...

You can create your own test data locally using the Django admin page and set the dates however you want.

@kuhnchris
Copy link
Contributor Author

Hey @kuhnchris - why can't you test this locally? Just create a grant, then use test users to subscribe to it and take other actions to see if they are ordered correctly in the page.

because they need to separated by days, or do you happen to have a grant ready locally where you could test this? Cause I surely do not, I'm eagerly awaiting the test-data PR to get done...

You can create your own test data locally using the Django admin page and set the dates however you want.

well, if you say so, I can surely go and retry it, maybe you guys improved that since a couple of months ago when I first tried and failed... I'll get back at you when I got some info on this.

@danlipert
Copy link
Contributor

danlipert commented May 31, 2019 via email

@kuhnchris kuhnchris changed the title #4515 - GRANTS - Adding sorting (NEEDS TESTING) #4515 - GRANTS - Adding sorting May 31, 2019
@kuhnchris
Copy link
Contributor Author

@danlipert it works, but...
grafik

this is technically correct but the year is missing. shall we add the year to the display?

@danlipert
Copy link
Contributor

@kuhnchris nice! looking good! @willsputra what are your thoughts on adding the year?

@willsputra
Copy link
Contributor

@kuhnchris @danlipert looking good! yeah having the year would be great :)

@kuhnchris
Copy link
Contributor Author

grafik

@willsputra & @danlipert

@PixelantDesign
Copy link
Contributor

Looks great @kuhnchris !

@willsputra
Copy link
Contributor

@kuhnchris looks good to me!

@danlipert danlipert merged commit 4ec5cca into gitcoinco:master May 31, 2019
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.

Activity on Grants Pages not sorted by Date
4 participants