Asset descriptions can change: books.label_asset description, journaled as asset.described (with the old one), replayed, projected, shown in the journal
check / check (push) Canceled after 0s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GWVo7x3UHw5kwCUaWxiejX
This commit is contained in:
swaitsandClaude Opus 5.5 committed 2026-10-15 12:43:28 -06:00
1 parent 2e14c702c0
commit 49c49aef33
6 files changed
+127 -3

No files matched your search

+9
View File
@@ -267,6 +267,15 @@ pub fn describe(b: &Books, line: &JournalLine) -> Option<Event> {
};
ev(icon::BARCODE, text, asset_id.map(Route::Asset))
}
"asset.described" => ev(
icon::PENCIL_SIMPLE,
format!(
"Renamed asset {} to {}",
s(p, "previous_description"),
s(p, "description")
),
asset_id.map(Route::Asset),
),
"asset.acquisition_linked" => {
let entry = p.get("entry_id").and_then(|v| v.as_u64()).unwrap_or(0);
Some(Event {