You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PyCharm 2023.3.3 (Community Edition)
Build #PC-233.13763.11, built on January 26, 2024
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Non-Bundled Plugins:
com.sourcegraph.jetbrains (5.5.10-nightly)
Describe the bug
Platform: macOS
Steps to reproduce:
Have Cody plugin installed in your JB PyCharm editor
Login to Cody with Enterprise user
Open Code context and add 10 repo
Hit enter and verify the repo added correctly
Now add 11th repo and verify that the text is hightlighted yellow
Hit enter to save changes and verify the repo list
Observed behavior:
A random repo got removed and the yellow highlighted repo got added.
Expected behavior
The 11th repo should not be added and any random repo should not be removed.
What's happening here: We're sending all of the repos to the backend, it is returning sorted results, and we're taking the first 10. It's definitely confusing because we've been highlighting the ones added at the bottom of the list in mustard. We should prune those first.
… list (#1491)
Fixes#1484
## Test plan
Tested manually:
- Sign into an Enterprise account
- Open the enhanced context picker and list more than ten repos, ensure
some of the yellow highlight repos are alphabetically earlier than some
of the first ten
- Cmd-Enter to save the list of repositories
- Verify that the highlighted list is what you would expect
https://github.com/sourcegraph/jetbrains/assets/55120/11c732bd-5161-4e01-8c8f-919e83192b04
Cody Version
v5.5.10-nightly
IDE Information
PyCharm 2023.3.3 (Community Edition)
Build #PC-233.13763.11, built on January 26, 2024
Runtime version: 17.0.9+7-b1087.11 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 14.3
GC: G1 Young Generation, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Non-Bundled Plugins:
com.sourcegraph.jetbrains (5.5.10-nightly)
Describe the bug
Platform: macOS
Steps to reproduce:
Observed behavior:
A random repo got removed and the yellow highlighted repo got added.
Expected behavior
The 11th repo should not be added and any random repo should not be removed.
Additional context
Video link:
https://drive.google.com/file/d/1gk9WcoAzgOIVefEQ6K2STaZeIagnF3RG/view?usp=drive_link
The text was updated successfully, but these errors were encountered: