Skip to content

Commit

Permalink
Correct more app event inconsistencies (zed-industries#21129)
Browse files Browse the repository at this point in the history
- Unify welcome page event type string structure
- Differentiate between metric telemetry event and diagnostic telemetry
event

Release Notes:

- N/A
  • Loading branch information
JosephTLyons authored Nov 24, 2024
1 parent 0395d1b commit 3dcb94c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions crates/collab/src/api/events.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1471,22 +1471,22 @@ fn for_snowflake(
"open ssh project" => "SSH Project Opened".to_string(),

// Welcome Page
"welcome page: change keymap" => "Keymap Changed".to_string(),
"welcome page: change keymap" => "Welcome Keymap Changed".to_string(),
"welcome page: change theme" => "Welcome Theme Changed".to_string(),
"welcome page: close" => "Welcome Page Closed".to_string(),
"welcome page: edit settings" => "Settings Edited".to_string(),
"welcome page: install cli" => "CLI Installed".to_string(),
"welcome page: edit settings" => "Welcome Settings Edited".to_string(),
"welcome page: install cli" => "Welcome CLI Installed".to_string(),
"welcome page: open" => "Welcome Page Opened".to_string(),
"welcome page: open extensions" => "Extensions Page Opened".to_string(),
"welcome page: open extensions" => "Welcome Extensions Page Opened".to_string(),
"welcome page: sign in to copilot" => "Welcome Copilot Signed In".to_string(),
"welcome page: toggle diagnostic telemetry" => {
"Welcome Telemetry Toggled".to_string()
"Welcome Diagnostic Telemetry Toggled".to_string()
}
"welcome page: toggle metric telemetry" => {
"Welcome Telemetry Toggled".to_string()
"Welcome Metric Telemetry Toggled".to_string()
}
"welcome page: toggle vim" => "Welcome Vim Mode Toggled".to_string(),
"welcome page: view docs" => "Documentation Viewed".to_string(),
"welcome page: view docs" => "Welcome Documentation Viewed".to_string(),

// Extensions
"extensions page: open" => "Extensions Page Opened".to_string(),
Expand Down

0 comments on commit 3dcb94c

Please sign in to comment.