Add a UI hint when you press @ (#1903)

This will make @ more discoverable (even though it is currently not
super useful, IMO it should be used to bring files into context from
outside CWD)

---------

Co-authored-by: Gabriel Peal <gpeal@users.noreply.github.com>
This commit is contained in:
easong-openai
2025-08-07 00:41:48 -07:00
committed by GitHub
parent cd5f9074af
commit 4e29c4afe4
3 changed files with 47 additions and 12 deletions

View File

@@ -416,7 +416,9 @@ impl App<'_> {
}
}
AppEvent::StartFileSearch(query) => {
self.file_search.on_user_query(query);
if !query.is_empty() {
self.file_search.on_user_query(query);
}
}
AppEvent::FileSearchResult { query, matches } => {
if let AppState::Chat { widget } = &mut self.app_state {