ContriHUB / ContriHub-18

http://contrihubs.herokuapp.com - :snowman: :cyclone: ContriHub is an event under Avishkar-18 where we are expecting to get more and more people involved in Opens Source activities.
7 stars 33 forks source link

fetch prs using ajax #17

Open deepak-bharti-deel opened 6 years ago

deepak-bharti-deel commented 6 years ago

On profile page there are different kind of prs. There are buttons to see different prs. Currently all the prs related to user are fetched in once which will become inefficient with growing number of prs related to a user. So Implement update the Projects/templates/Projects/profile.html and def of profileon Projects/views.py

You will surely enjoy this. We will award you with huge number of points for successfully completing this :smile:

ashwini571 commented 6 years ago

Can you be more specific on what further changes has to be done... Bcoz the buttons in student profile are already working.

deepak-bharti-deel commented 6 years ago

@ashwini571 currently all prs related to user are fetched in once and those buttons are just filtering among them. But what is expected is that don't fetch them all together rather fetch only those prs which are request by user by clicking the corresponding buttons. you have to just use ajax to get the relevant prs from db and fill the appropriate div with these new prs. Try not to do it once they are fetched :smile:

ashwini571 commented 5 years ago

Can u plz tell me what was the bug with the last commit i made.

deepak-bharti-deel commented 5 years ago

Actually the gui was getting changed on fetching new prs and also an extra card of announcement was coming which isn't expected.

On Sun 28 Oct, 2018, 7:49 AM ashwini571, notifications@github.com wrote:

Can u plz tell me what was the bug with the last commit i made.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ContriHUB/ContriHub-18/issues/17#issuecomment-433670692, or mute the thread https://github.com/notifications/unsubscribe-auth/AP3c49wIi6dwXujmi9QJgJjRbsje9MoLks5upRQngaJpZM4XQmVT .

ashwini571 commented 5 years ago

In user view or mentor view??

deepak-bharti-deel commented 5 years ago

it is independent of user role