From 818991db7781db11bd8b1dea9eb27179713156f1 Mon Sep 17 00:00:00 2001 From: Saketh <126517689+SAKETH11111@users.noreply.github.com> Date: Tue, 7 Apr 2026 01:14:00 -0500 Subject: [PATCH] tasks_ui: Fix previously used task tooltip (#53104) Closes #52941 ## Summary - update the task picker delete button tooltip to describe the recently used task entry it removes - keep the change scoped to the inaccurate user-facing copy in the tasks modal ## Testing - cargo test -p tasks_ui Release Notes: - N/A --- crates/tasks_ui/src/modal.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/crates/tasks_ui/src/modal.rs b/crates/tasks_ui/src/modal.rs index 285a07c9562849b26b4cbba3de3979614384d875..3b7edef415f10f8723ab041e5a81ac672d603371 100644 --- a/crates/tasks_ui/src/modal.rs +++ b/crates/tasks_ui/src/modal.rs @@ -566,9 +566,7 @@ impl PickerDelegate for TasksModalDelegate { .checked_sub(1); picker.refresh(window, cx); })) - .tooltip(|_, cx| { - Tooltip::simple("Delete Previously Scheduled Task", cx) - }), + .tooltip(|_, cx| Tooltip::simple("Delete from Recent Tasks", cx)), ); item.end_slot_on_hover(delete_button) } else {