ZIm/crates/ui/src
Roy Williams 0042c24d3c
Simplify logic & add UI affordances to show model cache status (#16395)
Release Notes:

- Adds UI affordances to the assistant panel to show which messages have
been cached
- Migrate cache invalidation to be based on `has_edits_since_in_range`
to be smarter and more selective about when to invalidate the cache and
when to fetch.

<img width="310" alt="Screenshot 2024-08-16 at 11 19 23 PM"
src="https://github.com/user-attachments/assets/4ee2d111-2f55-4b0e-b944-50c4f78afc42">

<img width="580" alt="Screenshot 2024-08-18 at 10 05 16 PM"
src="https://github.com/user-attachments/assets/17630a60-7b78-421c-ae39-425246638a12">


I had originally added the lightening bolt on every message and only
added the tooltip warning about editing prior messages on the first
anchor, but thought it looked too busy, so I settled on just annotating
the last anchor.
2024-08-19 12:06:14 -07:00
..
components Simplify logic & add UI affordances to show model cache status (#16395) 2024-08-19 12:06:14 -07:00
styles Update model selector (#15665) 2024-08-01 21:57:51 -04:00
utils Bring Jupyter to Zed Editing (#12062) 2024-06-17 10:02:31 -07:00
clickable.rs Prompt Library Refinements (#13470) 2024-06-25 11:43:30 -04:00
components.rs ui: Remove old settings components (#15347) 2024-07-27 14:12:32 -04:00
disableable.rs Fix possessive "its" in docs and comments (#3998) 2024-01-10 10:09:48 -05:00
fixed.rs Document ui crate traits 2024-01-09 14:15:25 -05:00
key_bindings.rs ui: Add functions for generating textual representations of key bindings (#15287) 2024-07-26 12:52:59 -04:00
prelude.rs Add Tool Strip (#11756) 2024-05-13 17:58:08 -04:00
selectable.rs Add UI setting components (#13550) 2024-06-26 13:02:58 -04:00
styled_ext.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
styles.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
ui.rs ui: Add functions for generating textual representations of key bindings (#15287) 2024-07-26 12:52:59 -04:00
utils.rs Document UI modules 2024-01-09 12:57:12 -05:00
visible_on_hover.rs Remove 2 suffix for ui, storybook, text 2024-01-03 12:33:51 -08:00
with_rem_size.rs ui: Don't break flex layout when using WithRemSize (#12076) 2024-05-20 21:39:18 -04:00