sourcegraph / cody

Type less, code more: Cody is an AI code assistant that uses advanced search and codebase context to help you write and fix code.
https://cody.dev
Apache License 2.0
2.53k stars 261 forks source link

VS Code: Browser will not be set as active window when user click on "Upgrade" button from "Edit Code". #3586

Closed jay-fibi closed 1 week ago

jay-fibi commented 5 months ago

Version

v1.11.1711465869 pre-release

Describe the bug

Platform: MacOS

Steps to reproduce:

  1. Have Cody plugin installed in your VS Code editor
  2. Login to Cody with Free user
  3. Open any source code file
  4. Click on "Edit Code" from Commands
  5. Click on "Model" and select any other non-free model i.e. Claude 3 Haiku
  6. Click on "Upgrade" button from "Upgrade to Cody Pro" popup

Observed behavior:

Browser will not be set as active window and it feel like clicking on "Upgrade" button does nothing Same issue reproduced for "See Plans" button

Expected behavior

It should navigate user to Browser and browser should be set as an active window.

It works fine when user click on model from "New Chat > LLM" dropdown and select any non-free model.

Additional context

Video link:

https://drive.google.com/file/d/1dDVNdQh0YhALHofMgwkfJeyGKLN9Zcbv/view?usp=drive_link

github-actions[bot] commented 2 weeks ago

This issue is marked as stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed automatically in 5 days.