-
Notifications
You must be signed in to change notification settings - Fork 216
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spec out the new Cody App flow for new onboarding #958
Comments
@taylorsperry do you have the Figma for what the Cody app signup flow is? CC: @toolmantim |
Thanks for creating the issue! I've just gone and created the designs for this here: |
This looks great!! |
I am taking this up! |
Removing all other assignees to just @thenamankumar for clarity Answering Naman's question here:
I'm going to organize my response based on the type of question:
CC @toolmantim for viz. |
For 1+2, I have moved the VS Code designs into https://www.figma.com/file/INGthyKM1cYki5H02JPDpW/VS-Code-Beta-2-%3C%3E-App-Onboarding?type=design&node-id=0-1&mode=design so we can look at everything in the one place, as well as put in the previous version of the VS Code design that @chenkc805 @dominiccooney and I went through before we simplified it. I assume you may not have seen some of this @thenamankumar?
I don't think this is an actual hard limit at all… it's only enforced by the App during the welcome onboarding. Once you're through that, you can add as many as you like until dotcom starts returning quota exhausted errors.
I'm not 100% sure of what the cloning behaviour of App is, but I don't think it creates embedding directly from the local repo, but makes it's own clone (maybe from origin?) But I think this is an existing problem with App already, that isn't in scope to change for this release? In general though I agree w/ @chenkc805, 3-6 sounds like existing behaviour things that we could leave as-is for now while we focus on the core onboarding experience. |
They'd see this: They would have to click Open App, manually add the repository, wait for it to be indexed in Cody App, go back to VS Code, and hit "Reload". They would be using the Settings page of Cody App to see the indexing status. (fyi there's a pretty bad usability bug in Cody App where it takes up to 1 minute for indexing to kick off after adding an additional repository — which confuses a lot of users because it just appears nothing is happening for a whole minute. If we could kick off this background job immediately instead of waiting for the policy to trigger it after a minute, that would be a huge win for user confidence) |
Decisions:
To do:Credential sharing, initial repo embeddings
Embeddings in general:
Nice to have:
|
Currently always reflects configuration changes by overwriting the whole file. Part of #958 ## Test plan Manual test: 1. Start VScode 2. Sign in with dotcom 3. `cat ~/Library/Application Support/com.sourcegraph.cody/vscode.json` The access token and root of the current workspace should appear in the file, like this: ``` {"dotcomAccessToken":"sgp_etcetc","repoPaths":["/Users/foo/bar"],"redirect":"vscode://sourcegraph.cody-ai/etc"} ``` <!-- Required. See https://docs.sourcegraph.com/dev/background-information/testing_principles. -->
@dominiccooney @thenamankumar I linked all the relevant PRs that I know about at the top of this issue to consolidate all the work into 1 place. Can you confirm that this is the right list of issues and that I'm not missing any? |
@thenamankumar @toolmantim did we ever align on whether we're going with "end-to-end flow (current)" or "end-to-end flow proposed (v2)" in the Figma? IMO I think "proposed (v2)" is better because a nice confirmation screen + legal text is helpful to show the user what we're doing. I think it'll feel surprising (in a bad way) to the user if we go with flow 1. |
v2! 🙌🏼 |
@thenamankumar can we close this? |
I guess we can then |
Subtasks
The text was updated successfully, but these errors were encountered: