feat(journals): implement Quick Add and unified Append/Prepend shared component

- Created AeCompJournalEntryQuickAdd for high-velocity note creation
- Extracted robust append/prepend logic from List View into AeCompModalJournalEntryAppend
- Unified List and Detail views to use the shared modal for content manipulation
- Added explicit Append/Prepend actions to Journal Entry settings menu
- Updated TODO.md and Journals module documentation
This commit is contained in:
Scott Idem
2026-01-13 22:59:08 -05:00
parent 80bc5e453a
commit 8fd11d7224
9 changed files with 403 additions and 398 deletions

View File

@@ -26,6 +26,8 @@
onDecrypt: () => void;
onDecryptHistory: () => void;
onChangeJournal: () => void;
onAppend?: () => void;
onPrepend?: () => void;
log_lvl?: number;
}
@@ -39,6 +41,8 @@
onDecrypt,
onDecryptHistory,
onChangeJournal,
onAppend,
onPrepend,
log_lvl = 0
}: Props = $props();
@@ -220,6 +224,8 @@ p-2 md:p-3 rounded-lg shadow-md
{onSave}
{onDecryptHistory}
{onChangeJournal}
{onAppend}
{onPrepend}
{log_lvl}
/>
</div>