Taha
e57126dcd4
auto_update: Add title bar feedback when Zed is already up to date ( #64106 )
...
# Objective
A manual "check for updates" that finds no newer version left the
updater back at `Idle`, so the "Checking for Zed Updates…" indicator in
the title bar simply vanished with no confirmation that the check had
succeeded.
## Solution
Track that transition in `UpdateVersion` and show an "Up to Date" button
in its place for a few seconds. The timer is stored as a task on the
view, so it is cancelled when the view is dropped or a new update state
arrives.
`restart_after_wake` passed through `Idle` before re-polling, which
would read as a completed check; it now stays in `Checking`.
## Testing
- Did you test these changes? If so, how? **Tested by running Zed in
preview channel.**
- Are there any parts that need more testing? **No**
- How can other people (reviewers) test your changes? Is there anything
specific they need to know?
**Use `ZED_RELEASE_CHANNEL=preview cargo run` to open Zed. Then manually
trigger a check within menu `Zed -> Check for Updates`.**
- If relevant, what platforms did you test these changes on, and are
there any important ones you can't test?
**Tested only on MacOS Tahoe**
## Self-Review Checklist:
- [x] I've reviewed my own diff for quality, security, and reliability
- [ ] Unsafe blocks (if any) have justifying comments
- [x] The content adheres to Zed's UI standards
([UX/UI](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist )
and
[icon](https://github.com/zed-industries/zed/blob/main/crates/icons/README.md )
guidelines)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable
## Showcase
A visual demo of what happens in title_bar when a manual check for
updates is triggered.
https://github.com/user-attachments/assets/23b72bf2-6188-4eae-82b9-1c5b70782bb4
---
Release Notes:
- Added confirmation in the title bar when a manual update check finds
Zed is already up to date
2026-09-16 21:41:45 +00:00
..
2026-09-14 14:04:09 +00:00
2026-08-20 10:08:48 +00:00
2026-09-01 15:52:33 +00:00
2026-09-04 10:39:14 +00:00
2026-09-16 16:03:50 +00:00
2026-09-16 16:03:09 +00:00
2026-09-16 16:03:50 +00:00
2026-09-07 16:34:18 +00:00
2026-09-16 16:03:50 +00:00
2026-09-09 14:50:23 +00:00
2026-09-15 14:52:14 +00:00
2026-08-20 10:08:48 +00:00
2026-08-31 17:37:00 +00:00
2026-08-20 10:08:48 +00:00
2026-09-16 21:41:45 +00:00
2026-08-19 14:32:19 +00:00
2026-08-20 10:08:48 +00:00
2026-08-24 20:32:44 +00:00
2026-09-09 14:31:14 +00:00
2026-06-01 04:40:13 +00:00
2026-09-01 15:52:33 +00:00
2026-08-09 22:29:52 +00:00
2026-08-28 11:51:00 +00:00
2026-08-31 11:58:50 +00:00
2026-08-26 14:33:13 +00:00
2026-09-03 14:38:23 +00:00
2026-02-25 08:12:04 +01:00
2026-09-09 09:30:38 +00:00
2026-09-03 14:38:23 +00:00
2026-08-20 17:53:44 +00:00
2026-09-04 22:54:09 +00:00
2026-09-11 09:13:44 +00:00
2026-08-27 16:21:41 +00:00
2026-06-05 10:32:57 +00:00
2026-09-15 09:58:45 +00:00
2026-06-05 10:32:57 +00:00
2026-05-29 07:06:57 +00:00
2026-09-07 19:01:41 +00:00
2026-08-29 22:33:39 +00:00
2026-08-28 18:06:41 +00:00
2026-09-15 23:25:47 +00:00
2026-07-30 10:34:16 +00:00
2026-08-31 15:29:14 +00:00
2026-08-20 10:08:48 +00:00
2026-08-26 14:33:13 +00:00
2026-08-20 10:08:48 +00:00
2026-04-24 10:29:51 +00:00
2026-05-13 23:35:10 +00:00
2026-09-08 07:12:28 +00:00
2026-09-16 09:49:13 +00:00
2026-09-04 03:02:13 +00:00
2026-08-27 12:55:42 +00:00
2026-08-09 22:29:52 +00:00
2026-09-11 09:13:44 +00:00
2026-09-07 19:01:41 +00:00
2026-08-31 12:04:06 +00:00
2026-08-20 10:08:48 +00:00
2026-08-20 16:42:42 +00:00
2026-09-07 16:23:05 +00:00
2026-09-16 16:40:28 +00:00
2026-06-05 19:24:28 +00:00
2026-08-27 16:21:41 +00:00
2026-04-07 12:28:19 -03:00
2026-09-02 18:21:25 +00:00
2026-09-11 09:13:44 +00:00
2026-08-20 10:08:48 +00:00
2026-09-02 18:21:25 +00:00
2026-09-09 15:16:15 +00:00
2026-08-20 10:08:48 +00:00
2026-09-07 19:01:41 +00:00
2026-09-07 19:01:41 +00:00
2026-09-09 12:27:32 +00:00
2026-08-04 15:35:05 +00:00
2026-04-18 06:34:19 +00:00
2026-05-04 06:30:47 +00:00
2026-08-27 16:21:41 +00:00
2026-08-27 20:11:28 +00:00
2026-09-15 20:04:06 +00:00
2026-02-19 18:57:49 +01:00
2026-09-07 15:18:49 +00:00
2026-07-30 12:59:16 +00:00
2026-09-03 11:14:41 +00:00
2026-08-21 21:31:55 +00:00
2026-09-14 20:15:15 +00:00
2026-09-07 16:23:05 +00:00
2026-08-20 10:08:48 +00:00
2026-09-15 21:04:22 +00:00
2026-09-16 16:04:28 +00:00
2026-09-11 21:09:33 +00:00
2026-09-12 18:16:10 +00:00
2026-09-16 13:41:43 +00:00
2026-09-07 15:18:49 +00:00
2026-09-16 16:02:58 +00:00
2026-09-01 21:39:47 +00:00
2026-06-16 13:47:55 +00:00
2026-09-07 15:18:49 +00:00
2026-09-16 13:17:03 +00:00
2026-09-14 21:18:17 +00:00
2026-09-16 06:30:27 +00:00
2026-09-14 07:33:49 +00:00
2026-09-07 15:18:49 +00:00
2026-08-11 15:16:03 +00:00
2026-08-26 14:33:13 +00:00
2026-07-14 15:29:30 +00:00
2026-08-31 14:36:04 +00:00
2026-08-26 21:36:59 +00:00
2026-09-16 16:00:19 +00:00
2026-09-16 16:02:58 +00:00
2026-06-22 18:20:57 +00:00
2026-08-20 10:08:48 +00:00
2026-08-27 17:09:28 +00:00
2026-09-07 16:23:05 +00:00
2026-09-16 19:16:31 +00:00
2026-09-09 14:31:14 +00:00
2026-08-28 13:19:29 +00:00
2026-09-02 18:23:27 +00:00
2026-09-16 16:03:30 +00:00
2026-09-16 09:00:29 +00:00
2026-09-16 09:49:13 +00:00
2026-09-15 21:04:22 +00:00
2026-03-25 12:07:34 -06:00
2026-08-27 16:21:41 +00:00
2026-09-09 14:31:14 +00:00
2026-09-09 14:31:14 +00:00
2026-08-27 16:21:41 +00:00
2026-08-26 14:33:13 +00:00
2026-09-09 13:49:13 +00:00
2026-09-02 15:41:05 +00:00
2026-09-02 15:41:05 +00:00
2026-09-16 16:02:58 +00:00
2026-09-09 13:47:28 +00:00
2026-09-16 16:04:13 +00:00
2026-09-09 14:31:14 +00:00
2026-09-16 18:28:12 +00:00
2026-09-02 18:21:25 +00:00
2026-09-02 18:21:25 +00:00
2026-09-11 21:33:11 +00:00
2026-08-21 07:28:05 +00:00
2026-08-25 09:46:30 +00:00
2026-09-16 16:04:24 +00:00
2026-08-20 10:08:48 +00:00
2026-09-08 21:44:06 +00:00
2026-08-20 10:08:48 +00:00
2026-05-14 21:03:56 +00:00
2026-09-16 09:00:29 +00:00
2026-08-27 16:21:41 +00:00
2026-09-15 14:52:14 +00:00
2026-08-27 16:21:41 +00:00
2026-09-02 15:41:05 +00:00
2026-09-02 13:50:06 +00:00
2026-09-16 09:49:13 +00:00
2026-08-28 03:28:04 +00:00
2026-09-12 19:03:48 +00:00
2026-08-19 12:16:37 +00:00
2026-07-15 08:33:25 +00:00
2026-09-16 16:03:09 +00:00
2026-07-14 17:18:23 +00:00
2026-08-18 07:00:34 +00:00
2026-06-13 05:21:05 +00:00
2026-09-16 16:04:28 +00:00
2026-09-07 19:01:41 +00:00
2026-09-15 16:33:57 +00:00
2026-08-28 11:51:00 +00:00
2026-08-27 12:55:42 +00:00
2026-09-09 14:55:56 +00:00
2026-07-23 22:46:06 +00:00
2026-09-10 17:54:38 +00:00
2025-12-15 13:30:13 +00:00
2026-07-27 18:20:35 +00:00
2026-09-07 15:18:49 +00:00
2026-08-18 10:02:20 +00:00
2026-09-16 16:03:26 +00:00
2026-09-07 19:01:41 +00:00
2026-08-20 10:08:48 +00:00
2026-08-20 10:08:48 +00:00
2026-09-11 09:13:44 +00:00
2026-09-02 18:21:25 +00:00
2026-08-31 13:35:07 +00:00
2026-08-20 10:08:48 +00:00
2026-08-31 11:41:34 +00:00
2026-08-24 10:41:04 +00:00
2026-09-15 11:49:56 +00:00
2026-09-16 16:03:50 +00:00
2026-09-04 15:28:40 +00:00
2026-06-23 09:33:47 +00:00
2026-09-16 16:03:50 +00:00
2026-05-05 16:25:56 +00:00
2026-09-15 14:53:12 +00:00
2026-07-20 11:17:43 +00:00
2026-09-16 15:58:12 +00:00
2026-08-27 16:21:41 +00:00
2026-09-09 15:11:24 +00:00
2026-08-09 22:29:52 +00:00
2026-05-27 19:33:04 +00:00
2026-08-20 10:08:48 +00:00
2026-07-20 04:08:28 +00:00
2026-08-28 03:28:04 +00:00
2026-05-04 06:30:47 +00:00
2026-09-09 09:09:25 +00:00
2026-08-31 12:04:06 +00:00
2026-08-18 07:58:21 +00:00
2026-08-20 10:08:48 +00:00
2026-08-20 10:08:48 +00:00
2026-01-28 16:36:44 -08:00
2026-08-27 06:40:50 +00:00
2026-09-07 15:18:49 +00:00
2026-08-28 18:05:57 +00:00
2026-09-11 15:19:53 +00:00
2026-03-27 14:41:25 +01:00
2026-07-29 20:59:24 +00:00
2026-08-27 16:21:41 +00:00
2026-09-11 15:19:53 +00:00
2026-05-28 19:43:30 +00:00
2026-09-16 21:41:45 +00:00
2026-08-28 17:31:36 +00:00
2026-09-16 21:41:45 +00:00
2026-07-01 04:25:40 +00:00
2026-05-29 07:06:57 +00:00
2026-06-08 14:59:39 +00:00
2026-09-16 16:03:18 +00:00
2026-09-15 15:27:26 +00:00
2026-03-19 12:53:26 -04:00
2026-09-10 06:33:43 +00:00
2026-08-20 10:08:48 +00:00
2026-08-20 10:08:48 +00:00
2026-09-03 09:35:53 +00:00
2026-05-01 22:33:54 +00:00
2026-09-16 16:03:50 +00:00
2026-09-15 11:49:56 +00:00
2026-09-07 19:01:41 +00:00
2026-08-28 14:06:27 +00:00
2026-09-16 07:01:45 +00:00
2026-09-16 16:00:19 +00:00
2026-09-03 09:35:53 +00:00
2026-08-20 10:08:48 +00:00
2026-04-02 17:06:57 -03:00
2026-08-09 22:29:52 +00:00
2026-09-01 21:39:47 +00:00
2026-09-01 21:39:47 +00:00
2026-09-01 21:39:47 +00:00