-
Notifications
You must be signed in to change notification settings - Fork 0
Add multiple account support #20
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 <7095563+friuns@users.noreply.github.com>
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
Co-authored-by: friuns <7095563+friuns@users.noreply.github.com>
🚀 Netlify DeploymentDeploy URL: https://694ac1c491fdb80ca47bc70f--my-test-site3.netlify.app Branch: |
🚀 Netlify DeploymentDeploy URL: https://694ac1c74d013e0b8a54a742--my-test-site3.netlify.app Branch: |
🚀 Netlify DeploymentDeploy URL: https://694ac1c357fa50367f56abb7--my-test-site3.netlify.app Branch: |
🚀 Netlify DeploymentDeploy URL: https://694ac1c86eaebd0dde46aaf9--my-test-site3.netlify.app Branch: |
Enables users to authenticate with multiple GitHub accounts simultaneously and switch between them. Each account maintains isolated data and cache.
Implementation
Account Management (
services/accountService.ts){ id, token, user, addedAt }Cache Isolation (
services/cacheService.ts)vibe_github_cache_{accountId}_{key}clearCache()with account-specific cleanup modesAccount Switcher UI (
components/AccountSwitcher.tsx)State Refactoring (
App.tsx)token/usertoaccounts/activeAccountUsage
Screenshots
Account Switcher

Shows active account indicator, remove buttons on hover/focus, and add account option.
Migration
Existing users automatically migrated on first load - legacy
gh_token/gh_userconverted to new account system with cleanup of old storage.Security
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.