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

🔥(teams) remove pagination of teams listing #496

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

sdemagny
Copy link
Collaborator

@sdemagny sdemagny commented Oct 29, 2024

For frontend pagination is useless for teams,
so we remove it.
fixes #497

@Morendil Morendil force-pushed the sdem/remove_pagination branch 3 times, most recently from 938d8f6 to 7f3923a Compare October 29, 2024 20:45
Copy link
Collaborator

@Morendil Morendil left a comment

Choose a reason for hiding this comment

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

Unfortunately this is incomplete - removing pagination leads to removing the indirection via results, but the frontend is not aware of this change, and so just about every page breaks with an exception when trying to access page.results.

(Even more unfortunately Playwright - or our testing approach - is not smart enough to recognize an exception is not the right behaviour, and instead Playwright spends the full timeout period waiting for something that will never appear. This is why E2E tests are timing out on this PR. The only good news is that when running the tests locally, this exception is visible in the Playwright trace viewer.)

For frontend pagination is useless for teams,
so we remove it.
In order to be in agreement with the back, we must modify the front
so as to no longer have infinite scroll in the team part.
It is also necessary to modify the tests accordingly
@PanchoutNathan PanchoutNathan merged commit 20a19d3 into main Oct 31, 2024
19 checks passed
@PanchoutNathan PanchoutNathan deleted the sdem/remove_pagination branch October 31, 2024 16:59
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.

Supprimer la pagination pour les teams
3 participants