DevPath icon indicating copy to clipboard operation
DevPath copied to clipboard

[Bug]: Import from GitHub" button is non-functional in Find Project section

Open syedkarim2004 opened this issue 6 months ago • 7 comments

What happened?

The "Import from GitHub" button in the Find Project section appears clickable but does not trigger any action.

Expected: Clicking the button should initiate GitHub authentication, repository import, popup flow, or provide user feedback.

Actual: Nothing happens after clicking. No redirect, popup, loading state, API request, or feedback is shown.

Steps to reproduce

  1. Run the project locally.
  2. Open http://127.0.0.1:5000
  3. Navigate to the "Find Project" section.
  4. Locate the "Import from GitHub" button.
  5. Click the button.

Expected behaviour

The GitHub import flow should start successfully, or the user should receive clear feedback about authentication/import status.

Area of the app affected

Project detail page

Python version

3.11.x

Operating system

macOs

Relevant error output or logs

No visible terminal or browser error.
Issue reproducible consistently on local setup.

Before submitting

  • [x] I searched existing issues and this has not been reported before.
  • [x] I can reproduce this bug consistently with the steps above.
  • [x] I am running the latest version of the main branch.

syedkarim2004 avatar May 26 '26 17:05 syedkarim2004

@komalharshita Can you assign me this ?? I looking to solve it Effecient way with clean code

AnishkumarProjects05 avatar May 27 '26 03:05 AnishkumarProjects05

@komalharshita I would like to work on this issue. I can investigate and fix the non-functional “Import from GitHub” button in the Find Project section by ensuring the click handler properly triggers the intended GitHub authentication/import flow and provides clear user feedback.

Planned improvements: • Debug and restore the button click functionality • Ensure GitHub authentication/import flow triggers correctly • Add proper loading states and user feedback during the import process • Handle failure/error states gracefully with clear messages • Verify API requests and popup/redirect behavior work consistently • Improve overall UX responsiveness and interaction feedback

This will ensure the GitHub import feature behaves reliably and provides a smoother user experience.

Please assign this issue to me under GSSoC’26.

DI1102 avatar May 27 '26 04:05 DI1102

Hey @komalharshita, I'd love to work on this [bug] under GSSoC 2026 (gssoc-2026) Understanding the Bug: The "Import from GitHub" button in the Find Project section is completely non-functional. When clicked, nothing happens — no redirect, no popup, no API request, no loading state, no error message. This is a critical UX issue as users expect the button to initiate GitHub authentication and repository import flow. Root Cause Analysis: The button likely renders correctly in the UI but has either:

No onClick handler attached An incomplete or broken GitHub OAuth integration Missing API endpoint connection for repository import

My Approach:

Locate the button component in the Find Project section codebase Inspect existing GitHub OAuth setup (if any) in the project Add a proper onClick handler that triggers GitHub authentication flow Connect the button to the appropriate API endpoint for repository import Add loading spinner while the import is in progress Show success message when import completes Show clear error message if authentication or import fails Test the complete flow end to end on local setup

Please assign this issue to me. Thank You

shehzadvx avatar May 27 '26 07:05 shehzadvx

Hi , @komalharshita

I would like to contribute on this issue as this would be my first contribution in Python. Please assign it to me, this would be very helpful

Thank you

Krish-Mishra avatar May 27 '26 09:05 Krish-Mishra

Hi, I am a GSSoC 2026 contributor and would like to work on this.

just-tanvi avatar May 27 '26 12:05 just-tanvi

Hi @komalharshita,

I investigated this issue on the deployed application and found that the GitHub import appears to fail because requests to api.github.com are being blocked by the current Content Security Policy (connect-src 'self').

I'd like to work on this issue. Please assign it to me if it's still available.

mansisharma46 avatar Jun 23 '26 05:06 mansisharma46

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions!

github-actions[bot] avatar Nov 30 '26 09:11 github-actions[bot]