zeta: Fix data collection display on the status bar menu (#24177)

Follow-up to: https://github.com/zed-industries/zed/pull/24031

This PR adds a new function that allows the UI also to display the state
of the data collection. Previously, we only showed that if the project
adhered to the `is_open_source` condition. Now, we show it for all
projects.

Release Notes:

- N/A
This commit is contained in:
Danilo Leal 2025-02-04 05:05:28 -03:00 committed by GitHub
parent e5c3273486
commit 386cfacb25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View file

@ -429,7 +429,7 @@ impl InlineCompletionButton {
menu = menu
.separator()
.header("Help Improve The Model")
.header("For OSS Projects Only");
.header("Valid Only For OSS Projects");
menu = menu.item(
// TODO: We want to add something later that communicates whether
// the current project is open-source.