Closed nxtCoder19 closed 4 months ago
This pull request updates the UI components to handle pagination more effectively by introducing a structured pagination object. It also modifies GraphQL queries to support cursor-based pagination. The changes span multiple files, primarily focusing on updating the pagination logic and GraphQL query parameters.
Files | Changes |
---|---|
src/apps/console/routes/_main+/$account+/env+/$environment+/cs+/configs._index/route.tsx src/apps/console/routes/_main+/$account+/infra+/vpn-devices/route.tsx src/apps/console/routes/_main+/$account+/env+/$environment+/apps/route.tsx src/apps/console/routes/_main+/$account+/env+/$environment+/managed-resources/route.tsx src/apps/console/routes/_main+/$account+/environments/route.tsx src/apps/console/routes/_main+/$account+/managed-services/route.tsx |
Updated the pagination prop in the Wrapper component to accept the entire data object directly. |
gql-queries-generator/doc/queries.graphql src/apps/auth/server/gql/cli-queries.ts src/generated/gql/server.ts |
Modified GraphQL queries and types to support cursor-based pagination. |
Summary by Sourcery
This pull request enhances the pagination structure in the Wrapper component and updates several GraphQL queries to support cursor-based pagination. Additionally, it refactors route components to streamline the handling of pagination data.