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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user