zed/crates/ui/src
Danilo Leal 39063ab3b1
agent_ui: Use circular progress component for displaying context window use (#49138)
This PR uses the recently introduced `CircularProgress` component to
display context window use information. It creates more space for the
message editor controls as well as simplifies the UI a little bit.
Through a tooltip, we communicate the same things we communicated before
(and more, actually, because rules use will be displayed there, too).
Note that this doesn't touch the display of split token use (for models
like GPT and whatnot).

<img width="500" height="484" alt="Screenshot 2026-02-13 at 6  16@2x"
src="https://github.com/user-attachments/assets/831cdfbf-fddd-4a11-8ac6-e9a25609aae9"
/>

Release Notes:

- Agent: Simplified context window use display by using a circular
progress component.
2026-02-13 18:33:04 -03:00
..
components agent_ui: Use circular progress component for displaying context window use (#49138) 2026-02-13 18:33:04 -03:00
styles ui: Adjust BoxShadow offset for elevation styles (#47010) 2026-01-19 11:17:44 -03:00
traits Reduce macro burden for rust-analyzer (#42871) 2025-11-17 12:31:00 +00:00
utils Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
component_prelude.rs
components.rs Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00
prelude.rs agent: Improve error and warnings display (#36425) 2025-08-18 21:44:07 -03:00
styles.rs agent: Improve error and warnings display (#36425) 2025-08-18 21:44:07 -03:00
traits.rs activity_indicator: Show extension installation and updates (#37374) 2025-09-02 16:51:13 +02:00
ui.rs activity_indicator: Show extension installation and updates (#37374) 2025-09-02 16:51:13 +02:00
utils.rs Re-add MultiWorkspace (#48800) 2026-02-12 01:06:23 +00:00