Skip to content

[Bug][Github Connection] loaded data is not showing and loader icon keep on showing for github connection based on github app configuration #8385

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

Open
3 tasks done
veetmoradiya3628 opened this issue Apr 16, 2025 · 1 comment
Labels
component/config-ui This issue or PR relates to config-ui severity/p1 This bug affects functionality or significantly affect ux type/bug This issue is a bug

Comments

@veetmoradiya3628
Copy link
Contributor

veetmoradiya3628 commented Apr 16, 2025

Search before asking

  • I had searched in the issues and found no similar issues.

What happened

  1. GitHub connection is configured with GitHub Application.
  2. Move to connections page and try to add new scope data the organizations / owners section does not show any data and the loaded is keep on showing even if REST call to the back end is completed, which is api/plugins/github/connections/9/remote-scopes endpoint.
  3. Same is not the case with PAT based configuration of GitHub connection, in that case the data for organizations / owners are showing properly and loader is getting removed once the REST API call is completed.
  • Issue case where loader is showing even if REST call is successful for GitHub App based configuration

Image

  • Issue is not observed in case of PAT based configuration for the GitHub Connection

Image

What do you expect to happen

  • On successful API response the loader should disappear and data should show in the UI.

How to reproduce

follow steps mentioned above.

Anything else

Looks a UI issue since we are getting proper data from backend.

There is one more issue where in UI for TAG and SHA version it shows default as a string

Image

Version

devlake.docker.scarf.sh/apache/devlake:v1.0.2-beta4

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@veetmoradiya3628 veetmoradiya3628 added the type/bug This issue is a bug label Apr 16, 2025
Copy link

dosubot bot commented Apr 16, 2025

Hello @veetmoradiya3628! I'm Dosu, your friendly bot here to help you solve bugs, answer questions, and guide you on your journey as a contributor. While you wait for a human maintainer, feel free to ask me anything!

I found a similar closed issue that might be relevant to your problem. The issue suggested that missing permissions could be the cause of the problem. It recommended following this guide to ensure that the required permissions are set up correctly [1].

Additionally, the DevLake UI hides the loader icon based on the status variable. The loader is shown when the status is 'idle' or 'loading', and it is hidden when the status changes to something else [2]. You might want to check if the status is being updated correctly after the API call completes.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot dosubot bot added component/config-ui This issue or PR relates to config-ui severity/p1 This bug affects functionality or significantly affect ux labels Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/config-ui This issue or PR relates to config-ui severity/p1 This bug affects functionality or significantly affect ux type/bug This issue is a bug
Projects
None yet
Development

No branches or pull requests

1 participant