ZIm/crates/ui/src
Agus Zubiaga a267911e83
assistant2: Suggest recent files and threads as context (#22959)
The context picker will now display up to 6 recent files/threads to add
as a context:

<img
src="https://github.com/user-attachments/assets/80c87bf9-70ad-4e81-ba24-7a624378b991"
width=400>



Note: We decided to use a `ContextMenu` instead of `Picker` for the
initial one since the latter didn't quite fit the design for the
"Recent" section.

Release Notes:

- N/A

---------

Co-authored-by: Danilo <danilo@zed.dev>
Co-authored-by: Piotr <piotr@zed.dev>
Co-authored-by: Nathan <nathan@zed.dev>
2025-01-10 14:26:53 +00:00
..
components assistant2: Suggest recent files and threads as context (#22959) 2025-01-10 14:26:53 +00:00
styles ui: Update Checkbox design (#22794) 2025-01-07 21:11:39 +00:00
tests ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
utils assistant2: Suggest recent files and threads as context (#22959) 2025-01-10 14:26:53 +00:00
components.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
prelude.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
styles.rs Improve experience when themes provide transparent status colors (#13996) 2024-07-09 11:27:47 -04:00
tests.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
traits.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00
ui.rs ui crate docs & spring cleaning (#18768) 2024-10-05 23:28:34 -04:00
utils.rs Toggle & Switch (#21979) 2024-12-13 14:23:02 -05:00