| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Sorry, something went wrong.
…m Docusaurus config - Add setToken() method to GitHubService and update getHeaders() to use the stored token - Dashboard now reads gitToken from customFields (DOCUSAURUS_GIT_TOKEN env var) and initializes the service before fetching discussions - Add Refresh button with spinning animation to allow manual re-fetching - Improve error message to include a direct link to GitHub Discussions - Update discussions.css with refresh button styles and spin animation - Update .env.example to document DOCUSAURUS_GIT_TOKEN Agent-Logs-Url: https://github.com/recodehive/recode-website/sessions/7b2120a4-0104-4379-aa97-06aed89d4a29
|
so this will require updating the env with GIT_TOKEN along with the docusaurus one |
Sorry, something went wrong.
|
Hi @sanjay-kv could you look into the vercel deployment and let me know if things are working fine ? |
Sorry, something went wrong.
|
🎉 Your pull request has been successfully merged! 🎉 Thank you for your valuable contribution to our project. I would be grateful if you can nominate for keeping this opensource project live and running Link to Nominate. Please do star the repo and Keep up the fantastic work! 🚀 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
The Discussions tab always rendered hardcoded mock data because githubService.getHeaders() checked window.GITHUB_TOKEN (never set at runtime), while the actual token was already available in customFields.gitToken (from DOCUSAURUS_GIT_TOKEN env var) — the same pattern statsProvider.tsx uses correctly for leaderboard data.
Changes Made
When DOCUSAURUS_GIT_TOKEN is set in the deployment environment, the section fetches live discussions via GitHub GraphQL. Without a token, an error with a fallback link to the GitHub Discussions page is shown instead of silent mock data.
Dependencies
No new dependencies.
Checklist