Evalai: Pagination not working in teams view.

Created on 15 Jan 2017  路  22Comments  路  Source: Cloud-CV/EvalAI

Need to solve it for both participant and host team view.

GSOC-2019 bug frontend medium-difficulty

Most helpful comment

@parismita : Thanks for the efforts, I'm assigning this to @anweshknayak for now.

All 22 comments

@aka-jain shall i try this?? please give some details

Sure, in team view there are buttons for next and previous which are not working. Logic is already there. You only have to check and make it correct.

One update, this is working fine when you reload the page. Basically when we create a team it appends to existing team at run time but it is not affecting pagination logic, which works on every page reload.
Please correct this logic so that without reloading if we exceed limit of 10 then pagination buttons should get activated.

@aka-jain vm.existTeam is not updating with click, thts why this is hapenning, nothing is updating in the js file....what is to be done now?

@parismita : I think it gets updated with success function of create team not with click. Isn't it?

@aka-jain but i did console.log() of response....it was not updating...if team is created then it should

@aka-jain same as #488 right ?

@anweshknayak : you can work on this. I think there is some error with this issue. Just try and let me know if you find any error?

@parismita : Thanks for the efforts, I'm assigning this to @anweshknayak for now.

sure @aka-jain

@aka-jain by any chance this maybe cache related issue is it ? and $state.reload() would this even help in the controller. I don't think just asking.

@anweshknayak Yes, there is nothing like cache thing issue. And don't use reload too. Let me know where you are exactly stucked?

@aka-jain pagination logic is all fine. can you give some hints?

@anweshknayak @aka-jain the updating is done after sucess function right?....then the sucess function not called after submit...possibly....even when i console logged only once i got 200 response

@parismita I think the pagination part is not being updated while creating new team. You pointed out the real issue I guess. anyway @aka-jain is working on this.

Thanks guys for helping.
I think there is some confusion related to this task. Let us handle this.

@aka-jain I have fixed this issue. Shall I put up a PR ?

Sure @anweshknayak, please go ahead. I will check it :)

@aka-jain @anweshknayak is this issue resolved?

@deshraj Only challenge participation team pagination is left. Let me complete that too then we can close this issue.

@aka-jain all the paginations done?

@aka-jain @anweshknayak Is this resolved? If yes, please add a reference to the PR.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Arun-Jain picture Arun-Jain  路  6Comments

deshraj picture deshraj  路  5Comments

deshraj picture deshraj  路  6Comments

VishwaasHegde picture VishwaasHegde  路  4Comments

usmanmuhd picture usmanmuhd  路  5Comments