zed icon indicating copy to clipboard operation
zed copied to clipboard

Option for disabling all collaborative features of Zed

Open nesrve opened this issue 1 year ago • 14 comments

Check for existing issues

  • [X] Completed

Describe the feature

Hello, I'd like to see an option added to disable all collaborative features of Zed. For users like me who don’t need these, they take up unnecessary space (and resources?). While hiding the buttons for the collaboration, chat, and notification panels through settings is possible, I don't think it's enough.

• Completely disable collaboration and chat panels: Even when hidden, these panels might still be running in the background, using resources? • Suppress collaboration-related notifications: Invites, calls, mentions, and other notifications can be distracting when collaboration is not in use. Currently, they still generate system activity and interruptions. • Repurpose the top bar: The top bar currently shows user avatars and speaker highlights, which are redundant for solo users. This space could be better utilized for other purposes.

Hiding buttons is a step in the right direction, but fully disabling these features would create a cleaner, more efficient workspace for those of us who use Zed as a standalone editor. It would improve the user experience by providing a distraction-free environment and optimizing resource usage.

If applicable, add mockups / screenshots to help present your vision of the feature

No response

nesrve avatar Jun 18 '24 17:06 nesrve

In the similar vein as https://github.com/zed-industries/zed/issues/12325, it's rather unlikely that we'll ever support this.

At its core Zed is a collaborative code editor, so we don't want to hide the collaborative features.

maxdeviant avatar Jun 18 '24 17:06 maxdeviant

Hm unfortunate but fair enough, thanks for the reply in short time.

ghost avatar Jun 18 '24 17:06 ghost

I absolutely love the editor! It would be fantastic to have an option to hide the collaborative features since I’m not planning to use them. They remind me of the mandatory sign-in for MS Visual Studio. I usually work solo, and I know many other developers do too. Thanks a ton for all your hard work!

RomanShumikhin avatar Jul 20 '24 10:07 RomanShumikhin

Getting builds without this functionality would also help adoption in companies which prohibit such dependency on external services.

xvbcfj avatar Aug 01 '24 14:08 xvbcfj

I think having a strong coupling between Zed and Github is highly questionable.

[ Looks like an editor made by and for Github (Microsoft) ]

Zed must remain neutral, or at least offer this kind of functionality via plugins.

rxdiscovery avatar Aug 22 '24 14:08 rxdiscovery

Also, failing to log into Zed collab(blocked by corporate proxy) prevents usage of copilot as well (which is not blocked).

sa1 avatar Aug 22 '24 22:08 sa1

I have gone ahead and successfully deleted the collab features in Zed...

For more details on this subject please take a look at these notes.

https://github.com/stormasm/zednotes/blob/main/no-collab.md

stormasm avatar Aug 24 '24 16:08 stormasm

@maxdeviant : as stated both here and in #12325, many people agree on the possibility of enabling/disabling this feature, as can be seen from the reactions that can be seen in the comments. So I think it's better to create a discussion and talk about it better there.

Angelk90 avatar Aug 24 '24 17:08 Angelk90

@maxdeviant : as stated both here and in #12325, many people agree on the possibility of enabling/disabling this feature, as can be seen from the reactions that can be seen in the comments. So I think it's better to create a discussion and talk about it better there.

Fully agreed with what you are saying --- and my little proof of concept shows how easy it is to accomplish the task if we want to pursue it...

The code is nicely decoupled (at the moment) so that the feasibility of this concept is easily within reach 😄

stormasm avatar Aug 24 '24 17:08 stormasm

@stormasm : For me it would be enough to no longer see the words Sign in.

Angelk90 avatar Aug 24 '24 17:08 Angelk90

@stormasm : For me it would be enough to no longer see the words Sign in.

So its probably a simple fix then --- the Sign in in the title_bar crate as discussed in my note has to be replaced with a blank string when a configuration parameter is set denoting that case 👍

stormasm avatar Aug 24 '24 17:08 stormasm

pub fn render_sign_in_button(&mut self, _: &mut ViewContext<Self>) -> Button {
        let client = self.client.clone();
        Button::new("sign_in", "Sign in")
            .label_size(LabelSize::Small)
            .on_click(move |_, cx| {
                let client = client.clone();
                cx.spawn(move |mut cx| async move {
                    client
                        .authenticate_and_connect(true, &cx)
                        .await
                        .notify_async_err(&mut cx);
                })
                .detach();
            })
    }

stormasm avatar Aug 24 '24 17:08 stormasm

I created a thread because it is agreement please vote there.

Link: #16822

Angelk90 avatar Aug 25 '24 09:08 Angelk90

@maxdeviant : as stated both here and in #12325, many people agree on the possibility of enabling/disabling this feature, as can be seen from the reactions that can be seen in the comments. So I think it's better to create a discussion and talk about it better there.

As stated above:

At its core Zed is a collaborative code editor, so we don't want to hide the collaborative features.

We have no plans to hide or otherwise deprioritize Zed’s collaborative features.

maxdeviant avatar Aug 25 '24 12:08 maxdeviant

Going to close this issue now as it seems unlikely, if an open tracker is preferred then one could be created that references this one 👍

ghost avatar Dec 11 '24 18:12 ghost