AIStudio2API icon indicating copy to clipboard operation
AIStudio2API copied to clipboard

[UX] Add search filter and benefit tier (Pro/Free) preview in Chrome and Cookie import dialogs

Open photobrand opened this issue 1 week ago • 0 comments

想要什么,用来做什么 / 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:

  1. 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.
  2. The user cannot see whether an account has a Google AI Pro / Ultra subscription or Free tier before importing it.
  3. If some accounts were already verified or have Pro subscriptions, users want to selectively import only Pro accounts or specific emails.

Proposed Improvement

  1. 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.
  2. Subscription Tier Preview:
    • In internal/chromeauth/verify.go (DiscoverCookieAccounts, VerifyAuthUser), verifyModels already calls ListModels. Reading GetAiStudioBenefitTier (or extracting tier during discovery) and passing benefit_tier in CookieBrowser / ChromeImportProfile allows the import dialog to show a Pro / Free tag next to each discovered candidate email.

版本 / Version

v0.3.13

photobrand avatar Nov 21 '26 18:11 photobrand