mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-26 08:31:59 +03:00
Remove references to community repo
This commit is contained in:
parent
bf7489269e
commit
f9170cb239
@ -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);
|
||||
});
|
||||
|
@ -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()
|
||||
|
@ -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).
|
||||
|
Loading…
Reference in New Issue
Block a user