ClipplerBlood / journal-improvements

MIT License
4 stars 3 forks source link

[Feature Request] Use Template Journal Entry for new Entries #1

Open SirMotte opened 1 year ago

SirMotte commented 1 year ago

Hey there pal, thank you for this nifty module. Those tweaks feel like they should be native to the editor and speed up the process a lot if one must handle/create a lot of entries.

That being said, if you would be able to implement a function to make use of an already existing journal entry as a template, that gets used upon journal creation by default, would be incredibly useful.

Feel free to dismiss this request if this would require too much effort, it saves me a just a few clicks to copy my template again and again :) .

ClipplerBlood commented 1 year ago

Great feature! How would it work in practice? Kinda like duplicating a chosen template journal in its entirety or a preset for individual pages?

SirMotte commented 1 year ago

Great feature! How would it work in practice? Kinda like duplicating a chosen template journal in its entirety or a preset for individual pages?

For my use case I'd opt for a complete journal entry duplication. Though I can see that individual pages could also be of great use.

ClipplerBlood commented 1 year ago

Agree, the latter is a bit more tricky to implement though How do you think the template selection should work?

SirMotte commented 1 year ago

Agree, the latter is a bit more tricky to implement though How do you think the template selection should work?

Possibly by either using a prefix like [Template] for the template in question or by assigning it within your modules options menu by eg indexing existing journal entries and providing some sort of drop-down menu to pick the one I'd like to use, or by inputting the entry ID.

Alternatively and far more flexible, if a a selection could be assigned by folder, possibly within the folder settings menu. This would allow for multiple templates that get called based on folder, greatly enhancing usability.

grafik