Skip to content

Commit caff761

Browse files
committed
v0.4.0: Message navigation and expand/collapse
- Page Up/Down navigates between messages in preview - Focus indicator (▎) shows selected message - Space bar toggles expand/collapse of focused message - Mouse click selects message, double-click expands/collapses - Dynamic expand/collapse label in status bar
1 parent b176896 commit caff761

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "recall"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
description = "Search and resume Claude Code and Codex CLI conversations"
66

src/app.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,11 @@ mod tests {
623623
/// Create a minimal App for testing navigation/expansion features
624624
/// This bypasses the index initialization for unit tests
625625
fn test_app() -> App {
626+
use std::sync::atomic::{AtomicUsize, Ordering};
627+
static TEST_COUNTER: AtomicUsize = AtomicUsize::new(0);
628+
let test_id = TEST_COUNTER.fetch_add(1, Ordering::SeqCst);
629+
let index_path = std::env::temp_dir().join(format!("recall_test_index_{}", test_id));
630+
626631
App {
627632
query: String::new(),
628633
cursor: 0,
@@ -641,7 +646,7 @@ mod tests {
641646
should_quit: false,
642647
should_resume: None,
643648
should_copy: None,
644-
index: SessionIndex::open_or_create(&std::env::temp_dir().join("recall_test_index")).unwrap(),
649+
index: SessionIndex::open_or_create(&index_path).unwrap(),
645650
status: None,
646651
total_sessions: 0,
647652
index_rx: None,

0 commit comments

Comments
 (0)