Multi-GitHub account support implemented.#17
Multi-GitHub account support implemented.#17opencode-agent[bot] wants to merge 2 commits intomainfrom
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