Bug fixes and clean up for the recent history of Journal Entries.

This commit is contained in:
Scott Idem
2025-09-10 17:31:04 -04:00
parent efa7833fb3
commit cc6186467a
4 changed files with 117 additions and 49 deletions

View File

@@ -29,7 +29,9 @@ let journals_local_data_struct: key_val = {
qry__journal_id: null,
journal_view_history_li: [], // Appended each time the journal is loaded.
entry_view_history_li: [], // Appended each time the entry is loaded.
entry_view_history_li: [], // NO LONGER USED: Appended each time the entry is loaded.
entry_view_history_kv: {}, // Keyed by journal_entry_id for quick lookup.
entry_view_history_max: 15, // Maximum number of journal entries to keep in history.
journal: {
edit: false,