Open deepak-bharti-deel opened 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.
@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:
Can u plz tell me what was the bug with the last commit i made.
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 .
In user view or mentor view??
it is independent of user role
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: