ZIm/crates
Marshall Bowers 4d9659adc4
feature_flags: Add FeatureFlagAppExt::wait_for_flag_or_timeout (#24055)
This PR adds a new `wait_for_flag_or_timeout` method to the
`FeatureFlagAppExt` trait.

This encapsulates the somewhat gnarly code for using `wait_for_flag`
with a timeout.

A side benefit of this is that the tasks waiting on the feature flags
run in parallel, so in the case where the feature flags do not resolve
we don't end up having to wait on consecutive timeouts. This should help
a bit with https://github.com/zed-industries/zed/issues/23922.

Release Notes:

- N/A
2025-01-31 22:35:23 +00:00
..
activity_indicator Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
anthropic anthropic: Fix license (#23867) 2025-01-29 23:03:20 +00:00
assets Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assistant assistant: Unship tool use (#23969) 2025-01-30 19:46:15 +00:00
assistant2 assistant: Unship tool use (#23969) 2025-01-30 19:46:15 +00:00
assistant_context_editor assistant_context_editor: Don't block ContextStore initialization on reloading contexts (#24052) 2025-01-31 17:08:33 -05:00
assistant_settings Add DeepSeek support (#23551) 2025-01-27 13:40:59 -05:00
assistant_slash_command Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assistant_slash_commands Omit gitignored files from context file picker (#23777) 2025-01-28 11:40:42 -03:00
assistant_tool Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
assistant_tools Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
audio Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
auto_update Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
auto_update_ui Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
breadcrumbs Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
call Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
channel Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
cli Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
client zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
clock chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
collab collab: Remove unused POST /predict_edits endpoint from LLM service (#23997) 2025-01-31 03:21:40 +00:00
collab_ui Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
collections chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
command_palette Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
command_palette_hooks Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
context_server Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
context_server_settings Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
copilot Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
db Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
deepseek Add DeepSeek support (#23551) 2025-01-27 13:40:59 -05:00
diagnostics gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
docs_preprocessor Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
editor gpui: Add helper methods for em width and em advance (#24036) 2025-01-31 17:47:44 +00:00
evals Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
extension Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
extension_api chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
extension_cli extension_cli: Add support for packaging icon themes (#23978) 2025-01-30 21:45:04 +00:00
extension_host extensions_ui: Show the filtered icon theme selector when installing an icon theme (#23992) 2025-01-31 01:32:13 +00:00
extensions_ui extensions_ui: Show the filtered icon theme selector when installing an icon theme (#23992) 2025-01-31 01:32:13 +00:00
feature_flags feature_flags: Add FeatureFlagAppExt::wait_for_flag_or_timeout (#24055) 2025-01-31 22:35:23 +00:00
feedback Enable word wrap in feedback modal (#23893) 2025-01-31 00:13:53 -07:00
file_finder Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
file_icons Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
fs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
fsevent Deflake fs::test_event_stream_simple (#24013) 2025-01-30 23:53:36 -07:00
fuzzy chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
git Do less git metadata rescans on FS events (#24034) 2025-01-31 20:17:57 +00:00
git_hosting_providers Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
git_ui Disable git panel elements for readonly participants (#23897) 2025-01-30 09:07:11 +00:00
go_to_line Fix window double borrows (#23739) 2025-01-27 21:56:29 +00:00
google_ai chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
gpui gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
gpui_macros gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
gpui_tokio Make the gpui_tokio crate generic over the context it spawns (#23995) 2025-01-31 02:00:55 +00:00
html_to_markdown Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
http_client chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
image_viewer Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
indexed_docs Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
inline_completion zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
inline_completion_button zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
install_cli Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
journal Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
language Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
language_extension Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
language_model Add OpenAI o3-mini support (#24044) 2025-01-31 15:48:55 -05:00
language_model_selector assistant: Preserve selection focus in the model selector (#23713) 2025-01-27 12:29:08 -03:00
language_models gpui: Add line_clamp to truncate text after a specified number of lines (#23058) 2025-01-29 22:14:24 +02:00
language_selector Refactor to use SharedString in more places (#23813) 2025-01-28 19:04:21 -05:00
language_tools Allow buffer search in project search (#23819) 2025-01-31 00:13:46 -07:00
languages Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
livekit_client Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
livekit_client_macos Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
livekit_server chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
lmstudio lmstudio: Support missing quantization in model metadata (#24054) 2025-01-31 22:28:11 +00:00
lsp Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
markdown gpui: Add helper methods for em width and em advance (#24036) 2025-01-31 17:47:44 +00:00
markdown_preview Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
media chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
menu chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
multi_buffer Fix two bugs in new diff hunk handling (#23990) 2025-01-31 01:03:53 +00:00
node_runtime Pass extra CA certs to node process if env var exists (#23662) 2025-01-30 08:56:02 -08:00
notifications Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
ollama Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
open_ai Add OpenAI o3-mini support (#24044) 2025-01-31 15:48:55 -05:00
outline Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
outline_panel Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
paths Add auto-completion support for snippet files (#23698) 2025-01-27 12:32:22 +01:00
picker Use click event to determine modifier keys (#22988) 2025-01-30 16:40:20 -08:00
prettier Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
project Do less git metadata rescans on FS events (#24034) 2025-01-31 20:17:57 +00:00
project_panel Use click event to determine modifier keys (#22988) 2025-01-30 16:40:20 -08:00
project_symbols Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
prompt_library Refactor to use SharedString in more places (#23813) 2025-01-28 19:04:21 -05:00
proto Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
recent_projects Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
refineable Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
release_channel Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
remote Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
remote_server Implement collaborative git manipulations (#23869) 2025-01-30 11:23:38 +02:00
repl gpui: Add line_clamp to truncate text after a specified number of lines (#23058) 2025-01-29 22:14:24 +02:00
reqwest_client Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
rich_text Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
rope Rework go to line infrastructure (#23654) 2025-01-25 19:24:19 +00:00
rpc zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
schema_generator Add schema_generator for generating JSON schemas (#23991) 2025-01-31 01:22:10 +00:00
search gpui: Update docs to reflect removal of View, ViewContext, WindowContext (#24008) 2025-01-31 11:40:42 -08:00
semantic_index Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
semantic_version chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
session Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
settings Show settings file errors on startup (#23817) 2025-01-29 07:05:33 +00:00
settings_ui Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
snippet Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
snippet_provider snippets: Fix snippets not updating while containing comments (#23755) 2025-01-28 10:37:48 +01:00
snippets_ui Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
sqlez Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
sqlez_macros chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
story Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
storybook Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
streaming_diff chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
sum_tree Rework diff rendering to allow putting the cursor into deleted text, soft-wrapping and scrolling deleted text correctly (#22994) 2025-01-24 14:18:22 -07:00
supermaven edit prediction: Add syntax highlighting for diff popover (#23899) 2025-01-30 11:53:51 +01:00
supermaven_api Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tab_switcher Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
task Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
tasks_ui Fix missed renames in #22632 (#23688) 2025-01-26 23:37:34 +00:00
telemetry chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
telemetry_events chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
terminal Sanitize another pair of brackets when hovering over a path in the terminal (#23776) 2025-01-28 16:03:48 +02:00
terminal_view Allow buffer search in project search (#23819) 2025-01-31 00:13:46 -07:00
text Fix unnecessarily large edits emitted from multi buffer on diff recalculation (#23753) 2025-01-27 18:11:15 -08:00
theme Add support for icon themes (#23987) 2025-01-30 19:08:31 -05:00
theme_extension Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
theme_importer Add schema_generator for generating JSON schemas (#23991) 2025-01-31 01:22:10 +00:00
theme_selector Add icon theme selector (#23976) 2025-01-30 16:11:42 -05:00
time_format chore: Use workspace fields for edition and publish (#23291) 2025-01-17 17:39:22 +01:00
title_bar zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
toolchain_selector Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
ui zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
ui_input Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
ui_macros Revert "project: Fine-grained language server management" (#23977) 2025-01-30 13:42:56 -08:00
util Canonicalize paths when running tests (#23655) 2025-01-26 14:56:07 +08:00
vcs_menu Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
vim Fix clipping at end of line in vim mode with inlay hints (#23975) 2025-01-31 00:00:47 -07:00
vim_mode_setting Eliminate GPUI View, ViewContext, and WindowContext types (#22632) 2025-01-26 03:02:45 +00:00
welcome Remove more references to 'model' in GPUI APIs (#23693) 2025-01-27 04:00:27 +00:00
workspace workspace: Make "New Window" bring app to foreground (#24015) 2025-01-31 11:18:56 +01:00
worktree Do less git metadata rescans on FS events (#24034) 2025-01-31 20:17:57 +00:00
zed feature_flags: Add FeatureFlagAppExt::wait_for_flag_or_timeout (#24055) 2025-01-31 22:35:23 +00:00
zed_actions Add icon theme selector (#23976) 2025-01-30 16:11:42 -05:00
zed_predict_onboarding zeta: Onboarding and title bar banner (#23797) 2025-01-30 16:55:32 -03:00
zeta Fix data collection permission asked multiple times for same worktree (#24016) 2025-01-31 10:22:31 +00:00