zed/crates/client/src
Agus Zubiaga 919803a4f4
Require accepting ToS when enabling zeta (#23255)
Note: Design hasn't been reviewed yet, but the logic is done

When the user switches the inline completion provider to `zed`, we'll
show a modal prompting them to accept terms if they haven't done so:


https://github.com/user-attachments/assets/3fc6d368-c00a-4dcb-9484-fbbbb5eb859e

If they dismiss the modal, they'll be able to get to it again from the
inline completion button:


https://github.com/user-attachments/assets/cf842778-5538-4e06-9ed8-21579981cc47

This also stops zeta sending requests that will fail immediately when
ToS are not accepted.

Release Notes:

- N/A

---------

Co-authored-by: Richard <richard@zed.dev>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Joao <joao@zed.dev>
2025-01-20 11:48:49 -03:00
..
telemetry Use Instant not chrono for telemetry (#20756) 2024-11-19 08:23:12 -07:00
client.rs deps: Bump smol to 2.0 (#22956) 2025-01-10 13:38:00 +00:00
socks.rs chore: Fix several style lints (#17488) 2024-09-06 11:58:39 +02:00
telemetry.rs Migrate more events to telemetry::event (#22178) 2025-01-14 21:00:24 +00:00
test.rs Remove dev servers (#19638) 2024-10-24 12:14:03 -06:00
user.rs Require accepting ToS when enabling zeta (#23255) 2025-01-20 11:48:49 -03:00
zed_urls.rs Add client::zed_urls module for constructing zed.dev URLs (#19391) 2024-10-17 16:18:35 -04:00