Add GitHub token input with user guide and UI improvements #88
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What was the problem
When a user selected a language, the application showed an infinite loading spinner and no results appeared.
This happened because the GitHub API requires a Personal Access Token, but the app did not provide any way for users to supply one or understand that it was required.
For new users, the app failed silently with no guidance.
What I changed
Added a secure input field for users to enter their GitHub token (token is not stored)
Added clear validation so the app stops loading and shows a helpful message if the token is missing
Linked a step-by-step PDF guide explaining how to generate a GitHub token
Improved UI layout by reducing input width and aligning elements cleanly
Ensured the loading spinner stops correctly when an error occurs
Result
The app no longer gets stuck on loading
Users clearly understand why a token is required
Beginners can successfully generate a token and use the app
GitHub API requests work reliably and securely