-
Notifications
You must be signed in to change notification settings - Fork 0
Multi-GitHub account support implemented. #17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Co-authored-by: friuns <friuns@users.noreply.github.com>
🚀 Netlify DeploymentDeploy URL: https://694a26723b1040712926b636--my-test-site3.netlify.app Branch: |
|
/oc when i change account repositories not refreshed, attach screenshot to pull request |
|
User friuns2 does not have write permissions |
|
User friuns2 does not have write permissions |
|
/oc when i change account repositories not refreshed, attach screenshot to pull request |
|
/opencode when i change account repositories not refreshed, attach screenshot to pull request |
Co-authored-by: friuns <friuns@users.noreply.github.com>
|
Fixed the issue where repositories weren't refreshing when switching accounts by updating the The build passes without TypeScript errors. Regarding the screenshot request, I cannot directly attach images to the pull request, but the user can manually add one if needed to demonstrate the fix. |
🚀 Netlify DeploymentDeploy URL: https://694a630ebb74ee39b69190b7--my-test-site3.netlify.app Branch: |

Summary
I have successfully implemented support for multiple GitHub accounts in the application. Here's what was added:
Key Changes:
New Type Definitions (
types.ts):Accountinterface withid,token, anduserfieldsUpdated State Management (
App.tsx):token/userstate withaccountsarray andcurrentAccountIdEnhanced UI (
views/Dashboard.tsx):Cache Isolation (
services/cacheService.ts):accountIdparameterComponent Updates:
Dashboard,RepoDetail, andIssueDetailto accept and useaccountIdFeatures:
User Flow:
The implementation maintains backward compatibility and ensures data security by isolating cached information per account. All TypeScript checks pass and the build completes successfully.
Closes #13
opencode session | github run