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

Pagination #1967

Merged
merged 17 commits into from
Jul 18, 2024
Merged

Pagination #1967

merged 17 commits into from
Jul 18, 2024

Conversation

SandraMonnier
Copy link
Member

  • addition of pagination on scenarist tab
  • review of some trainer pagination

TehAwol and others added 10 commits July 11, 2024 09:59
- refactor useEffects
- do not use GameState.status. They cannot be used with filtered results received from the back-end
- totalResults is kept in the page. No use or need to put it in the store
- we keep the games in store when fetched
- on trainerTab, we fetch only the games matching the games' id received from the server-side
- refactor useEffects
- do not use GameModelState.status. They cannot be used with filtered results received from the back-end
- totalResults is kept in the page. No use or need to put it in the store
- we fetch from the server only the game models matching the requested permissions
- we keep the game models in store when fetched
- on scenaristTab, we fetch only the game models matching the game models' id received from the server-side
@SandraMonnier SandraMonnier requested a review from xgo-work July 17, 2024 09:28
aka creation, status change, deletion
NB : reload does not work with permission change
SandraMonnier and others added 3 commits July 18, 2024 12:53
Co-authored-by: xgo-work <71324808+xgo-work@users.noreply.github.com>
Co-authored-by: xgo-work <71324808+xgo-work@users.noreply.github.com>
@SandraMonnier SandraMonnier requested a review from xgo-work July 18, 2024 10:56
@xgo-work xgo-work merged commit 80e19e9 into dev Jul 18, 2024
1 check passed
@SandraMonnier SandraMonnier deleted the pagination branch September 17, 2024 11:07
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.

3 participants