feat!(journal): periodic & multiple journals#1474
Conversation
|
@maxkuzn if you have feedback on the features here that would be great |
|
With core.tempus now being the defacto (since 0.10 is required) I can start reviewing this sooner than later. I took a general glance at it and the execution looks solid. |
|
Had a look at this again. I think the best solution for the I'm fairly sure it's possible to transform the I think this is a fairly reasonable approach. Let me know if you have thoughts @vhyrro |
f5607be to
fdafabe
Compare
|
just stumbled upon this after posting #1648 but seems like the general idea/concept behind this was at least similar. as this feature here goes well beyond my quick-fix/workaround, i definitely think this would add great value to the journal module and would therefore love to see this becoming fully available. one thing that i'm wondering about is how a unified TOC may look like for this. another idea/questionmark that was popping up reading through the description was how about a possibility to express link-templates within journal templates which effectively would generate links into another journal's entries (e.g. dynamically generating and embedding a link into a newly created daily journal's entry to the surrounding weekly and/or monthly and/or quarterly journal given that such exists)? |
|
Glad you like it!
Yeah that would be useful. We could add a new function for it. Formatting it would be a challenge, months throw things off for sure. We could easily do years + months + days or years + weeks (mostly work) + days. Including months, if we want to be strict about days being correct, we could include a week that spans two separate months in both of those months, and list only the days of that week which are in the current month. Something else to think about:
I think the answer to this question is to make the toc generation modular enough that users can decide how their custom journals fit in, and then default only include daily, monthly, yearly in the unified view.
There's a third party module, pysan3/neorg-templates, that allows for dynamic templates using luasnip. Highly recommend. |
50172cb to
9e07089
Compare
9e07089 to
4189ef6
Compare
implements #1471
Features
:Neorg journal previous|current|next <journal_name>:Neorg journal {next,prev}_workdaycommands which skip weekends and (user provided) holidays.Of Note
template_name = template.norgit's nowbase_template_name = "template"and templates files will be created on a per-journal basis like:template-daily.norg:Neorg journal previous#1727 and added previous command for journal #1750 propose a different functionality for the wordprevious{prev,next}_existing