fix(gui): needs-attention grows to fit with 'show N more' instead of a hidden inner scroll; receipt wording follows the policy

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MtYEaR6M6Ybdhm6X98BWNu
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-10-12 18:39:48 -06:00
1 parent d7f80d29ea
commit 3f6b045fc3
5 files changed
+83 -42

No files matched your search

+4 -4
View File
@@ -51,9 +51,9 @@ pub fn find(b: &Books) -> Vec<Attention> {
severity: Severity::Problem,
title: format!("{} without receipts", fmt::count(missing.len(), "expense", "expenses")),
detail: format!(
"{} of spending over the {} threshold has no receipt attached.",
"{} of spending has no receipt attached ({}).",
fmt::dollars(total),
fmt::dollars(b.receipt_threshold)
b.receipt_rule()
),
target: Some(Route::Transactions),
prompt: format!(
@@ -67,11 +67,11 @@ pub fn find(b: &Books) -> Vec<Attention> {
severity: Severity::Problem,
title: format!("No receipt: {}", e.description),
detail: format!(
"#{} · {} · {} is over the {} receipt threshold.",
"#{} · {} · {}: {}.",
e.id,
fmt::date(e.date),
fmt::dollars(e.amount),
fmt::dollars(b.receipt_threshold)
b.receipt_rule()
),
target: Some(Route::Entry(e.id)),
prompt: format!(