sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

Can't log in and out or add new repos #53

Open localjo opened 11 months ago

localjo commented 11 months ago

I want to add a new repo to the Cody app, but I can't find how to do that. I tried pasting in the URL of the repo, but Cody only seems to recognize the first repo I connected it to. So I thought I would log out and back in, but I can't find anywhere a way to log out, or to even see what account I am logged into. How am I supposed to add a new repo to Cody?

chwarwick commented 11 months ago

@localjo Correct there is no login/logout within the Cody app.

To add a new repo to the Cody app you can do that from the Settings which can be accessed from the Settings item from the system tray menu, or from the ⚙️ icon in the top right corner. From the Local repositories section you can select new folders that contain additional repositories, they will automatically have embeddings generated shortly after being added. You can find additional details and status with in the Advanced Settings.

localjo commented 11 months ago

Ah! So the reason I couldn't find those settings is that the settings icon in the top right corner doesn't actually take you to the local repository settings, it only lets you toggle dark mode:

Screenshot 2023-08-07 at 11 46 14 AM

I have try icons hidden, so I didn't notice that menu, but I was able to get to local repo settings from there. Overall, the app and VS Code UI are just a bit confusing. Buttons and settings are not at all where I'd expect them to be, and it's very hard to figure out.