add GitHub token authentication and UI for private repos#1
Open
tharaka911 wants to merge 1 commit intobddicken:mainfrom
Open
add GitHub token authentication and UI for private repos#1tharaka911 wants to merge 1 commit intobddicken:mainfrom
tharaka911 wants to merge 1 commit intobddicken:mainfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Author
|
@bddicken I made a code change to visualize private repos too... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request enhances the
index.htmlfile by introducing GitHub token authentication for accessing private repositories, improving error handling, and adjusting UI layout dimensions. The changes include new functionality for managing GitHub tokens, updates to the user interface, and modifications to the repository visualization dimensions.GitHub Token Authentication:
getGitHubToken,setGitHubToken,clearGitHubToken) usinglocalStoragefor persistence.fetchGitHubfunction, allowing access to private repositories and handling authentication errors.fetchGitHubto provide user-friendly messages for common issues like invalid tokens, rate limits, and network errors.User Interface Enhancements:
#repoand#menutop positions and heights) to accommodate the new authentication section. [1] [2]Repository Visualization Adjustments: