• Will Chen's avatar
    Add OpenRouter to setup banner (#1242) · 7150082f
    Will Chen 提交于
    <!-- This is an auto-generated description by cubic. -->
    
    ## Summary by cubic
    Added OpenRouter as a first-class option in the setup banner and
    introduced a reusable provider card component. This streamlines provider
    selection and adds E2E coverage for the setup flow.
    
    - **New Features**
    - Added SetupProviderCard and used it for Google and OpenRouter in
    SetupBanner.
    - Clicking Google or OpenRouter routes to the correct provider settings
    and logs PostHog events.
      - Kept “Other providers” link to Settings.
    - Added setup.spec.ts E2E test to verify Google, OpenRouter, and Other
    navigation; introduced test config flag showSetupScreen to control the
    OPENAI_API_KEY shortcut.
    
    <!-- End of auto-generated description by cubic. -->
    7150082f
setup.spec.ts 1022 Bytes