Remove references to community repo (#6466)

Release Notes:

- N/A
This commit is contained in:
Joseph T. Lyons 2024-01-25 00:38:01 -05:00 committed by GitHub
commit e77db87bad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 8 deletions

View file

@ -15,7 +15,7 @@ actions!(
CopySystemSpecsIntoClipboard,
FileBugReport,
RequestFeature,
OpenZedCommunityRepo
OpenZedRepo
]
);
@ -52,7 +52,7 @@ pub fn init(cx: &mut AppContext) {
);
cx.open_url(&url);
})
.register_action(move |_, _: &OpenZedCommunityRepo, cx| {
.register_action(move |_, _: &OpenZedRepo, cx| {
let url = "https://github.com/zed-industries/zed";
cx.open_url(&url);
});

View file

@ -19,7 +19,7 @@ use ui::{prelude::*, Button, ButtonStyle, IconPosition, Tooltip};
use util::ResultExt;
use workspace::{ModalView, Toast, Workspace};
use crate::{system_specs::SystemSpecs, GiveFeedback, OpenZedCommunityRepo};
use crate::{system_specs::SystemSpecs, GiveFeedback, OpenZedRepo};
// For UI testing purposes
const SEND_SUCCESS_IN_DEV_MODE: bool = true;
@ -417,8 +417,7 @@ impl Render for FeedbackModal {
"Submit"
};
let open_community_repo =
cx.listener(|_, _, cx| cx.dispatch_action(Box::new(OpenZedCommunityRepo)));
let open_zed_repo = cx.listener(|_, _, cx| cx.dispatch_action(Box::new(OpenZedRepo)));
v_flex()
.elevation_3(cx)
@ -485,12 +484,12 @@ impl Render for FeedbackModal {
.justify_between()
.gap_1()
.child(
Button::new("community_repository", "Community Repository")
Button::new("zed_repository", "Zed Repository")
.style(ButtonStyle::Transparent)
.icon(IconName::ExternalLink)
.icon_position(IconPosition::End)
.icon_size(IconSize::Small)
.on_click(open_community_repo),
.on_click(open_zed_repo),
)
.child(
h_flex()

View file

@ -144,4 +144,4 @@ The telemetry settings can also be configured via the `welcome` screen, which ca
### Concerns and Questions
If you have concerns about telemetry, please feel free to open issues in our [community repository](https://github.com/zed-industries/zed/issues/new/choose).
If you have concerns about telemetry, please feel free to open issues in our [Zed repository](https://github.com/zed-industries/zed/issues/new/choose).