Skip to content
This repository was archived by the owner on Mar 5, 2026. It is now read-only.

Add auth telemetry events#1863

Merged
pkukielka merged 1 commit into
mainfrom
pkukielka/telemetry-usage-limits
Jul 3, 2024
Merged

Add auth telemetry events#1863
pkukielka merged 1 commit into
mainfrom
pkukielka/telemetry-usage-limits

Conversation

@pkukielka

@pkukielka pkukielka commented Jul 2, 2024

Copy link
Copy Markdown
Contributor

Closes https://linear.app/sourcegraph/issue/CODY-988/p1-authorization-and-log-in-log-out

Test plan

Repeat for dotcom and enterprise user account:

Scenario 1

  1. Remove all existing accounts
  2. Make sure you are redirected to the login panel
  3. Login using one of the available providers
  4. Make sure that both cody.auth.login/clicked and cody.auth.signin.token/clicked telemetry events were fired

Scenario 2

  1. Click on Cody status bar and choose Manage Accounts
  2. Click to add new account
  3. Make sure that cody.auth.login/clicked was fired
  4. Fill the account details (server and token) and confirm
  5. Make sure that cody.auth.signin.token/clicked was fired

@pkukielka pkukielka merged commit 95316c2 into main Jul 3, 2024
@pkukielka pkukielka deleted the pkukielka/telemetry-usage-limits branch July 3, 2024 07:50
steveyegge pushed a commit that referenced this pull request Jul 9, 2024
Closes
https://linear.app/sourcegraph/issue/CODY-988/p1-authorization-and-log-in-log-out

## Test plan

Repeat for dotcom and enterprise user account:

**Scenario 1** 

1. Remove all existing accounts
2. Make sure you are redirected to the login panel
3. Login using one of the available providers
4. Make sure that both `cody.auth.login/clicked` and
`cody.auth.signin.token/clicked` telemetry events were fired

**Scenario 2** 

1. Click on Cody status bar and choose `Manage Accounts`
2. Click to add new account
3. Make sure that  `cody.auth.login/clicked` was fired
4. Fill the account details (server and token) and confirm 
5.  Make sure that  `cody.auth.signin.token/clicked` was fired
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants