# Add information to Copilot sign-in UI when disabled \(\#7496\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/cbe7a12e6541bc7c73792a249c4adc4de03a1d61)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: cbe7a12e6541bc7c73792a249c4adc4de03a1d61

Requested commit: cbe7a12e6541bc7c73792a249c4adc4de03a1d61

Commit: cbe7a12e6541bc7c73792a249c4adc4de03a1d61

Tree: 8b9fb02b4feec9a17db4fc07cbec552200bc2af0

Author: Robert Clover

Committer: GitHub

## Message

```
Add information to Copilot sign-in UI when disabled (#7496)

I'd love to take on fixing this but:

1. I don't think this is the right solution - it would be really nice to
have something actionable that I could do when presented with this
message.
2. Should signing in to Copilot be independent from whether it's
enabled? You can only access the sign-in modal when `features.copilot`
isn't disabled, but when `show_copilot_suggestions` is `false` the
server is disabled but you can't sign in. So I guess another solution
might be to just not show the UI if copilot suggestions are disabled?
3. I don't know what other circumstances could trigger the empty modal.
I see `Status::Error` and that seems like it might be important to
surface gracefully?

Would love some thoughts on this

Release Notes:

- Improved UX for enabling Copilot when it's disabled in settings
```

## Parents

- [ccc6d76708289f29e5eaa083a24f9632b7153680](https://git.cafe/gitcafe/zed/commit/ccc6d76708289f29e5eaa083a24f9632b7153680?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/cbe7a12e6541bc7c73792a249c4adc4de03a1d61?format=markdown)
