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

Dashboard #4588

Merged
merged 51 commits into from
Jul 31, 2019
Merged

Dashboard #4588

merged 51 commits into from
Jul 31, 2019

Conversation

octavioamu
Copy link
Contributor

@octavioamu octavioamu commented Jun 6, 2019

Description
  • Funder dashboard with 3 areas and actions:
    OPEN BOUNTIES (applicants)
    BOUNTY SUBMISSIONS (applicants)
    EXPIRED BOUNTIES
  • Contributor dashboard with 3 areas and actions:
    BOUNTIES IN PROGRESS
    BOUNTIES APPLIED

    WORK SUBMITTED

General notes:
"view applicants" only request data on click the first time is clicked
Each dashboard (funder, contributors) only request data when the tab is clicked
Both have a loading state and empty data.
The default tab is "funder" but if you have a persona "hunter" it will be contributor tab.

Refers/Fixes

ref #4153
Fix #4754

Testing

https://embed.vidyard.com/share/JBaBMgybeaqdVnQuFqnJNn?

@octavioamu octavioamu changed the title Dashboard [WIP] Dashboard Jun 6, 2019
@codecov
Copy link

codecov bot commented Jun 6, 2019

Codecov Report

Merging #4588 into master will decrease coverage by 0.06%.
The diff coverage is 10.52%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4588      +/-   ##
==========================================
- Coverage    30.7%   30.63%   -0.07%     
==========================================
  Files         216      216              
  Lines       17431    17488      +57     
  Branches     2365     2385      +20     
==========================================
+ Hits         5352     5358       +6     
- Misses      11864    11914      +50     
- Partials      215      216       +1
Impacted Files Coverage Δ
app/dashboard/models.py 56.43% <ø> (ø) ⬆️
app/app/urls.py 89.36% <ø> (ø) ⬆️
app/dashboard/views.py 14.13% <10.52%> (-0.15%) ⬇️

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 6ce75a1...3550cfa. Read the comment docs.

@codecov
Copy link

codecov bot commented Jun 6, 2019

Codecov Report

Merging #4588 into master will increase coverage by 0.05%.
The diff coverage is 53.65%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4588      +/-   ##
==========================================
+ Coverage   30.12%   30.18%   +0.05%     
==========================================
  Files         210      215       +5     
  Lines       16911    16952      +41     
  Branches     2284     2286       +2     
==========================================
+ Hits         5095     5117      +22     
- Misses      11619    11638      +19     
  Partials      197      197
Impacted Files Coverage Δ
app/app/settings.py 78.65% <ø> (ø) ⬆️
app/app/urls.py 89.36% <ø> (ø) ⬆️
app/board/apps.py 0% <0%> (ø)
app/dashboard/models.py 56.56% <0%> (-0.08%) ⬇️
app/board/models.py 100% <100%> (ø)
app/board/admin.py 100% <100%> (ø)
app/board/urls.py 100% <100%> (ø)
app/board/views.py 51.72% <51.72%> (ø)
... and 3 more

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 b17efb5...1ac38ef. Read the comment docs.

@octavioamu octavioamu changed the title [WIP] Dashboard Dashboard Jul 24, 2019
@owocki
Copy link
Contributor

owocki commented Jul 29, 2019

just pulled this down + been playing with it. nice work, coming along very well!

some feedback. some nitpicky.. trying to focus on 'attention to detail'

funder dashboard feeedback

speed / performance is wayyy better than i expected for my user (owocki) that has many bounties :)

these buttons seem misaligned http://bits.owocki.com/32a9ed53dcd2/Image%202019-07-29%20at%203.00.51%20PM.png

i ahve 130 open bounties . its hard to scroll past them all. maybe set a max-height and a y-scroll on this div?
http://bits.owocki.com/37b0c067580c/Image%202019-07-29%20at%203.01.12%20PM.png

feature/invite buttons point to http://localhost:8000/dashboard/bounty/change/4715/ which seeems to 404 for me..

inconsistent capitalization here and “0 applicantions” is (1) spelled wron. http://bits.owocki.com/954d2d34aae1/Image%202019-07-29%20at%203.02.10%20PM.png

i dont think that the ‘accept/reject’ buttons are correctly showing on my pending bounties because i get this screen when i click ‘accept’ http://bits.owocki.com/786cf2ae1f70/Image%202019-07-29%20at%203.03.03%20PM.png -- it should likely only show applicants who are in a pending state (not already approved)

i think that the ‘feature bounty ‘and ‘invite contributors’ buttons should show up for all 3 categories of bounties. its possible that i’m not happy with the marketing of my bounties in all three scenarios (open bounties, submitted bounties, expired bounties)

there shoudl possibly also be a ‘contact the gitcoin core team’ button on these rows, in case the self service stuff isnt’ working.

title should be capitalized http://bits.owocki.com/512ce47c9140/Image%202019-07-29%20at%203.05.44%20PM.png

responsive css could use a little love http://bits.owocki.com/3b2dfa7e0f70/Image%202019-07-29%20at%203.06.16%20PM.png

theres a bunch of empty space up here ( http://bits.owocki.com/e0c0c20739b2/Image%202019-07-29%20at%203.06.29%20PM.png ) is that by design?

contributor dashboard

‘stop work’ has no callback -- no indicator of success when the HTTP request responds http://bits.owocki.com/bbb4677ee3e1/Screen%20Recording%202019-07-29%20at%2003.07%20PM.gif

@octavioamu
Copy link
Contributor Author

Thanks @owocki I work in that fixes!

@octavioamu
Copy link
Contributor Author

octavioamu commented Jul 30, 2019

@owocki all done except for:

i dont think that the ‘accept/reject’ buttons are correctly

I wasn't able to reproduce, I think can be related to the db? the query just do exactly that looks for open bounties . What bounty type is the one on your print?

i think that the ‘feature bounty ‘and ‘invite contributors’ buttons should

There is a very small space right now so for that a redesign will be needed

there shoudl possibly also be a ‘contact the gitcoin core team’ button

I think this need to be solved with the zendesk or any more global solution instead of here, but anyway I let that for the design team.

@owocki
Copy link
Contributor

owocki commented Jul 30, 2019

I wasn't able to reproduce, I think can be related to the db? the query just do exactly that looks for open bounties . What bounty type is the one on your print?

its not a bounty type, its a bounty.interests thing. we need bounty.interests.filter(pending=True) on it

@octavioamu
Copy link
Contributor Author

I will check it don't know what is happening with github my last commit is not here db1f71d
image

@octavioamu
Copy link
Contributor Author

I will check it don't know what is happening with github my last commit is not here db1f71d
image

At least now the commit link is working

@octavioamu
Copy link
Contributor Author

@owocki added the pending filter, now should be good.
In the list there is a missing commit about mobile but I think is in git, should be just a github interface bug.

danlipert
danlipert previously approved these changes Jul 31, 2019
Copy link
Contributor

@danlipert danlipert left a comment

Choose a reason for hiding this comment

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

lets just remove those leftover comments

"""Test the dashboard url and check the resolution."""
self.assertEqual(resolve('/dashboard').view_name, 'dashboard')
self.assertEqual(resolve('/dashboard/').view_name, 'dashboard')
# def test_dashboard_reverse(self):
Copy link
Contributor

Choose a reason for hiding this comment

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

should we just remove these?

Copy link
Member

Choose a reason for hiding this comment

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

lol

thelostone-mc
thelostone-mc previously approved these changes Jul 31, 2019
@octavioamu octavioamu dismissed stale reviews from thelostone-mc and danlipert via d907448 July 31, 2019 13:50
@danlipert danlipert merged commit 7e2290a into master Jul 31, 2019
@thelostone-mc thelostone-mc deleted the dashboard branch June 27, 2020 00:48
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.

Build Dashboard Front-End
4 participants