AIStudio2API
AIStudio2API copied to clipboard
[UX] Add search filter and benefit tier (Pro/Free) preview in Chrome and Cookie import dialogs
想要什么,用来做什么 / What you want and what for
What I want & Use Case
When importing or batch-updating cookies from browser profiles or multi-account cookie files with dozens of accounts:
- The import dialogs (
showChromeImport,showCookieImport,showBrowserImport) display a plain list of 50–100+ checkboxes in a scrolling box without a search box or filter. Finding a specific email requires scrolling through the entire list. - The user cannot see whether an account has a Google AI Pro / Ultra subscription or Free tier before importing it.
- If some accounts were already verified or have Pro subscriptions, users want to selectively import only Pro accounts or specific emails.
Proposed Improvement
- Filter input inside import dialogs:
- Add a quick filter input at the top of the candidates list in
AccountsPanel.vue(for Chrome import, Cookie paste, and CDP browser scan) to filter candidate checkboxes by email substring. - Add a quick toggle:
All|Unimported only|Pro only.
- Add a quick filter input at the top of the candidates list in
- Subscription Tier Preview:
- In
internal/chromeauth/verify.go(DiscoverCookieAccounts,VerifyAuthUser),verifyModelsalready callsListModels. ReadingGetAiStudioBenefitTier(or extracting tier during discovery) and passingbenefit_tierinCookieBrowser/ChromeImportProfileallows the import dialog to show aPro/Freetag next to each discovered candidate email.
- In
版本 / Version
v0.3.13