Remoting public alpha (#14541)

Release Notes:

- remoting: An alpha version of remote development is now available to
everyone. For more information on how to use it, and limitations see
https://zed.dev/docs/remote-development.
This commit is contained in:
Conrad Irwin 2024-07-16 12:05:55 -06:00 committed by GitHub
parent 62ab6e1a11
commit cf8bd4a90a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 77 additions and 63 deletions

View file

@ -5,7 +5,6 @@ use client::{DevServerProjectId, ProjectId};
use dev_servers::reconnect_to_dev_server_project;
pub use dev_servers::DevServerProjects;
use disconnected_overlay::DisconnectedOverlay;
use feature_flags::FeatureFlagAppExt;
use fuzzy::{StringMatch, StringMatchCandidate};
use gpui::{
Action, AnyElement, AppContext, DismissEvent, EventEmitter, FocusHandle, FocusableView,
@ -518,9 +517,6 @@ impl PickerDelegate for RecentProjectsDelegate {
}
fn render_footer(&self, cx: &mut ViewContext<Picker<Self>>) -> Option<AnyElement> {
if !cx.has_flag::<feature_flags::Remoting>() {
return None;
}
Some(
h_flex()
.border_t_1()
@ -534,7 +530,7 @@ impl PickerDelegate for RecentProjectsDelegate {
.when_some(KeyBinding::for_action(&OpenRemote, cx), |button, key| {
button.child(key)
})
.child(Label::new("New remote project").color(Color::Muted))
.child(Label::new("Open remote folder").color(Color::Muted))
.on_click(|_, cx| cx.dispatch_action(OpenRemote.boxed_clone())),
)
.child(