zed/crates/copilot_ui/src
Robert Clover cbe7a12e65
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
2024-02-07 22:28:02 -07:00
..
copilot_button.rs WIP: Add a setting to visually redact enviroment variables (#7124) 2024-01-31 11:42:09 -08:00
copilot_ui.rs Rename copilot_button crate to copilot_ui 2024-01-05 16:36:26 +01:00
sign_in.rs Add information to Copilot sign-in UI when disabled (#7496) 2024-02-07 22:28:02 -07:00