Problem
Currently, the application does not validate the GitHub repository URL before triggering the SDG analysis.
This leads to:
- Empty submissions being processed
- Invalid GitHub URLs triggering unnecessary API calls
- Poor user experience due to unclear errors
Expected Behavior
- Input should be validated before making API requests
- Invalid or empty inputs should be blocked
- Clear error messages should be shown to the user
Proposed Solution
- Add frontend validation for GitHub URL format
- Prevent empty submissions
- Add backend validation as a fallback
- Display user-friendly error messages
Impact
- Improves reliability
- Reduces unnecessary API calls
- Enhances user experience
Additional Context
I would like to work on this issue and submit a PR.
Problem
Currently, the application does not validate the GitHub repository URL before triggering the SDG analysis.
This leads to:
Expected Behavior
Proposed Solution
Impact
Additional Context
I would like to work on this issue and submit a PR.