unikubehq / frontend

Frontend for the Unikube platform. Run k8s 🐳 🚢 dev setups 🤓 with ease! 🤩
https://unikube.io
Apache License 2.0
13 stars 2 forks source link

only one project per page in project view #483

Open buschNT opened 2 years ago

buschNT commented 2 years ago

I was shown only one project per page in project view

Screenshot from 2022-03-07 14-34-52

Furthermore, the "second" page button was shown, even if there was no second project. After clicking it, I got an error view displayed.

buschNT commented 2 years ago

Here two more screenshots from my projects overview. On the first page I have two projects and on the second one:

Screenshot from 2022-04-08 11-38-52

Screenshot from 2022-04-08 11-36-47

tobifroe commented 2 years ago

@buschNT What does your GraphQL response look like? The relevant one should start like this: {"data":{"allProjects":{"totalCount":9,"results".....

buschNT commented 2 years ago

{data: {allProjects: {totalCount: 13,…}}} data: {allProjects: {totalCount: 13,…}} allProjects: {totalCount: 13,…} results: [{title: "XXX", repositoryStatus: "CLONING_SUCCESSFUL", description: "XXXX",…},…] 0: {title: "XXXXX", repositoryStatus: "CLONING_SUCCESSFUL", description: "",…} 1: {title: "Unikube Platform", repositoryStatus: "CLONING_SUCCESSFUL", description: "",…} 2: {title: "test", repositoryStatus: "CLONING_SUCCESSFUL", description: "test project",…} 3: {title: "XXXXXX", repositoryStatus: "CLONING_SUCCESSFUL", description: "",…} 4: {title: "Harbor", repositoryStatus: "CLONING_SUCCESSFUL", description: "",…} 5: {title: "test", repositoryStatus: "CLONING_FAILED", description: "test project", currentCommit: "",…} 6: {title: "buzzword-counter", repositoryStatus: "CLONING_SUCCESSFUL", description: "description",…} 7: {title: "ArgoCD", repositoryStatus: "CLONING_SUCCESSFUL", description: "Argo!",…} 8: {title: "Emissary Ingress", repositoryStatus: "CLONING_SUCCESSFUL",…} 9: {title: "gefyra", repositoryStatus: "CLONING_SUCCESSFUL", description: "",…}

buschNT commented 2 years ago

@tobifroe Maybe this is related to projects in different organizations?