Add release channel information to telemetry events
This commit is contained in:
parent
eaebec88c0
commit
93e1e30323
6 changed files with 27 additions and 13 deletions
|
@ -62,6 +62,16 @@ pub enum ReleaseChannel {
|
|||
Stable,
|
||||
}
|
||||
|
||||
impl ReleaseChannel {
|
||||
pub fn name(&self) -> &'static str {
|
||||
match self {
|
||||
ReleaseChannel::Dev => "Zed Dev",
|
||||
ReleaseChannel::Preview => "Zed Preview",
|
||||
ReleaseChannel::Stable => "Zed",
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl FeatureFlags {
|
||||
pub fn keymap_files(&self) -> Vec<&'static str> {
|
||||
vec![]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue