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

Not all ttd apps are listed in studio dashboard #4501

Closed
jeevananthank opened this issue Jul 7, 2020 · 6 comments
Closed

Not all ttd apps are listed in studio dashboard #4501

jeevananthank opened this issue Jul 7, 2020 · 6 comments
Labels
area/dashboard Area: Related to the dashboard blocked Status: This issue is blocked. See comments in the issue for further details. kind/bug Used when there is a defect / something is not working as it should. solution/studio/designer Issues related to the Altinn Studio Designer solution.
Milestone

Comments

@jeevananthank
Copy link
Contributor

jeevananthank commented Jul 7, 2020

Describe the bug

Not all ttd apps are listed in studio dashboard

To Reproduce

Steps to reproduce the behavior:

  1. Login to dev.altinn.studio with an user having owner access to ttd repo
  2. The dashboard does not list all the apps of ttd

Expected behavior

All apps of ttd should be listed in the dashboard

Cause / Resolution

Default limit on response objects of gitea's user/repos endpoint is 30.

Additional info

Env: dev.altinn.studio
Browser: Chrome 83

@jeevananthank jeevananthank added kind/bug Used when there is a defect / something is not working as it should. area/dashboard Area: Related to the dashboard labels Jul 7, 2020
@altinnadmin
Copy link
Member

This is an effect of Gitea adding paging for all APIs (which is a good thing): go-gitea/gitea#9452

I guess we should fix this when we do a reimplementation of the dashboard front-end and adds support for org landing pages in Designer.

@altinnadmin altinnadmin added the solution/studio/designer Issues related to the Altinn Studio Designer solution. label Jul 9, 2020
@ghost
Copy link

ghost commented Jul 17, 2020

We should probably do a general fix for all API calls to Gitea with pagination.

@acn-sbuad acn-sbuad self-assigned this Jul 30, 2020
@acn-sbuad acn-sbuad added this to the 2020-July milestone Jul 30, 2020
@acn-sbuad acn-sbuad removed their assignment Aug 3, 2020
@jeevananthank
Copy link
Contributor Author

@acn-sbuad still all the apps are not displayed in the dashboard.
Now 50 apps are listed in the dashboard

@ghost
Copy link

ghost commented Aug 3, 2020

There is a hard-limit set to 50 in the pagination logic in Gitea.

@TheTechArch TheTechArch modified the milestones: 2020-July, 2020-w32/33 Aug 3, 2020
@acn-sbuad acn-sbuad self-assigned this Aug 3, 2020
@altinnadmin
Copy link
Member

Yup, that’s why I suggested fixing this when we reimplement dashboard 😊

https://altinn.studio/repos/api/swagger#/user/userCurrentListRepos

@acn-sbuad acn-sbuad removed their assignment Aug 5, 2020
@jeevananthank jeevananthank added the blocked Status: This issue is blocked. See comments in the issue for further details. label Aug 5, 2020
@lvbachmann lvbachmann modified the milestones: 2020-November, 2021-Q1 Nov 13, 2020
@lvbachmann lvbachmann removed this from the 2021-Q1 milestone Aug 9, 2021
@jeevananthank
Copy link
Contributor Author

with the updated dashboard, one can search/find apps across all the apps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/dashboard Area: Related to the dashboard blocked Status: This issue is blocked. See comments in the issue for further details. kind/bug Used when there is a defect / something is not working as it should. solution/studio/designer Issues related to the Altinn Studio Designer solution.
Projects
None yet
Development

No branches or pull requests

5 participants