assistant2: Add empty state for new threads (#21542)

This PR adds an empty state for new threads in Assistant2:

<img width="1138" alt="Screenshot 2024-12-04 at 12 17 46 PM"
src="https://github.com/user-attachments/assets/ff7b4533-d3b8-4722-bd4b-43fac6d35a77">

This is mostly just a sketch in its current state.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-12-04 12:44:03 -05:00 committed by GitHub
parent fee0624299
commit 7cfc972df6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 141 additions and 12 deletions

View file

@ -11,7 +11,13 @@ pub use crate::assistant_panel::AssistantPanel;
actions!(
assistant2,
[ToggleFocus, NewThread, ToggleModelSelector, Chat]
[
ToggleFocus,
NewThread,
ToggleModelSelector,
OpenHistory,
Chat
]
);
const NAMESPACE: &str = "assistant2";