T23b: AI chat, citations
- CitationBadge: a numbered pill after a claim, its source on hover, a press opens it; a Tab stop - SourceCard and SourceList: the sources folded under their count and sites, each a card numbered as cited; the fold opens from the keyboard - SearchProgress: steps waiting, working and done - WebResultCard and DocumentChunkPreview with matched words washed - gallery: citation and sources states
This commit is contained in:
8 files changed
+794
-8
No files matched your search
@@ -1,4 +1,5 @@
|
||||
mod blocks;
|
||||
mod cite;
|
||||
mod controls;
|
||||
mod talk;
|
||||
|
||||
@@ -29,6 +30,15 @@ const SCRIPT: &[Step] = &[
|
||||
Step::Shot("editing"),
|
||||
Step::Key("escape"),
|
||||
Step::Wait(200),
|
||||
Step::HoverAt("chat-cite-1", 8.0, 8.0),
|
||||
Step::Wait(700),
|
||||
Step::Shot("citation"),
|
||||
Step::DownAt("chat-sources", 20.0, 10.0),
|
||||
Step::UpAt("chat-sources", 20.0, 10.0),
|
||||
Step::Wait(300),
|
||||
Step::Shot("sources"),
|
||||
Step::DownAt("chat-sources", 20.0, 10.0),
|
||||
Step::UpAt("chat-sources", 20.0, 10.0),
|
||||
];
|
||||
|
||||
fn render(window: &mut Window, cx: &mut App) -> AnyElement {
|
||||
@@ -41,5 +51,7 @@ fn render(window: &mut Window, cx: &mut App) -> AnyElement {
|
||||
.child(controls::actions(window, cx))
|
||||
.child(controls::status(window, cx))
|
||||
.child(controls::thinking(window, cx))
|
||||
.child(cite::citations(window, cx))
|
||||
.child(cite::search(window, cx))
|
||||
.into_any_element()
|
||||
}
|
||||
Reference in new issue
Block a user