mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-06 18:46:49 +00:00
919803a4f4
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>
42 lines
1 KiB
TOML
42 lines
1 KiB
TOML
[package]
|
|
name = "inline_completion_button"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/inline_completion_button.rs"
|
|
doctest = false
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
copilot.workspace = true
|
|
editor.workspace = true
|
|
feature_flags.workspace = true
|
|
fs.workspace = true
|
|
gpui.workspace = true
|
|
inline_completion.workspace = true
|
|
language.workspace = true
|
|
paths.workspace = true
|
|
settings.workspace = true
|
|
supermaven.workspace = true
|
|
ui.workspace = true
|
|
workspace.workspace = true
|
|
zed_actions.workspace = true
|
|
zeta.workspace = true
|
|
client.workspace = true
|
|
zed_predict_tos.workspace = true
|
|
|
|
[dev-dependencies]
|
|
copilot = { workspace = true, features = ["test-support"] }
|
|
editor = { workspace = true, features = ["test-support"] }
|
|
futures.workspace = true
|
|
indoc.workspace = true
|
|
lsp = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|
|
serde_json.workspace = true
|
|
theme = { workspace = true, features = ["test-support"] }
|