franciskafieh / obsidian-list-modified

πŸͺ¨ The advanced and adaptive changelog for Obsidian. Links all modified files meeting certain criteria to a timed (daily, weekly, monthly) note.
MIT License
85 stars 7 forks source link

[FR] Allow periodic notes other than daily (i.e. weekly, monthly, quarterly, yearly) #56

Closed brimwats closed 1 year ago

brimwats commented 1 year ago

First Steps

Describe the desired feature

Please provide a clear description of the feature.

Created date: yyyy-mm-dd

Possible alternatives

What are some possible alternatives? Have you tried any of them?

just maintaining daily notes for this plugin alone?

Additional info?

franciskafieh commented 1 year ago

Are the weekly notes created with periodic notes? ---- On Fri, 11 Nov 2022 18:32:43 -0500 @.*** wrote ---- First Steps

I've ensured that this feature request does not already exist by using the search issues feature I've read the documentation (see the README) I'm on the latest release of obsidian-list-modified

Describe the desired feature Please provide a clear description of the feature.

I'd like to have list modified post at the end of my weekly note instead of my daily one, as I'm switching to using weekly note. format could be like:

Created date: yyyy-mm-dd

note x y z

Possible alternatives What are some possible alternatives? Have you tried any of them? just maintaining daily notes for this plugin alone? Additional info?

β€”Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

brimwats commented 1 year ago

Are the weekly notes created with periodic notes?

The settings are set up so they can be, but I usually create them by hand. Either way, same folder. So periodic note settings:

image

In order: /YYYY/GGGG-[W]WW 000 - Landing Page. Inbox. KO. Meta/Storage/Periodic Notes/Weekly/2022 000 - Landing Page. Inbox. KO. Meta/_Templates/Basic Templates/Weekly Intentions Template.md

Here is what one looks like:

---
Metadata: 
fileClass: Thing
ThingType: Event
Created: <%tp.date.now("YYYY-MM-DD",0)%>
aliases: [<%tp.date.now("YYYY-MM-DD",0)%>, <%tp.date.now("YYYY-MM-DD",1)%>, <%tp.date.now("YYYY-MM-DD",2)%>, <%tp.date.now("YYYY-MM-DD",3)%>, <%tp.date.now("YYYY-MM-DD",4)%>, <%tp.date.now("YYYY-MM-DD",5)%>, <%tp.date.now("YYYY-MM-DD",6)%>]
tags: [πŸ“†/7️⃣/<%tp.date.now("YYYY")%>]
---
**β†ž[[<% tp.date.now("GGGG-[W]WW", -1)%>|Last (<% tp.date.now("[W]WW")%>)]]** | **[[<% tp.date.now("MM[.] MMMM YYYY")%>|<% tp.date.now("MMMM YYYY")%>]]β₯‰** | *[[<% tp.date.now("GGGG-[W]WW", 7)%>|Next (<% tp.date.now("[W]W", 7)%>)]]β† * 
# Weekly Note for [[<% tp.date.now("GGGG-[W]WW")%>]]
<svg viewBox="0 0 3760 100">
  <title>Timeline 2022</title>
  <g class='bars'>
    <rect fill='#9d0006' x='0' width='310' height='150'></rect>
    <rect fill='#d65d0e' x='320' width='280' height='150'></rect>
    <rect fill='#fb4632' x='610' width='310' height='150'></rect>
    <rect fill='#fabd2f' x='930' width='300' height='150'></rect>
    <rect fill='#fe8019' x='1240' width='310' height='150'></rect>
    <rect fill='#afaf00' x='1560' width='300' height='150'></rect>
    <rect fill='#b9ca4a' x='1870' width='310' height='150'></rect>
    <rect fill='#70c0b1' x='2190' width='310' height='150'></rect>
    <rect fill='#83adad' x='2510' width='300' height='150'></rect>
    <rect fill='#83a598' x='2820' width='310' height='150'></rect>
    <rect fill='#949494' x='3140' width='300' height='150'></rect>
    <rect fill='#4e4e4e' x='3450' width='310' height='150'></rect>
  </g>
  <g class='labels' style="font-size:50px;" text-anchor="middle">
    <text fill='#f2e5bc' x='0' y='60' text-anchor="start">&nbsp;&nbsp;January</text>
    <text fill='#f2e5bc' x='320' y='60' text-anchor="start">&nbsp;February</text>
    <text fill='#f2e5bc' x='610' y='60' text-anchor="start">&nbsp;March</text>
    <text fill='#f2e5bc' x='930' y='60' text-anchor="start">&nbsp;April</text>
    <text fill='#f2e5bc' x='1240' y='60' text-anchor="start">&nbsp;May</text>
    <text fill='#f2e5bc' x='1560' y='60' text-anchor="start">&nbsp;June</text>
    <text fill='#f2e5bc' x='1870' y='60' text-anchor="start">&nbsp;July</text>
    <text fill='#f2e5bc' x='2190' y='60' text-anchor="start">&nbsp;August</text>
    <text fill='#f2e5bc' x='2510' y='60' text-anchor="start">&nbsp;September</text>
    <text fill='#f2e5bc' x='2820' y='60' text-anchor="start">&nbsp;October</text>
    <text fill='#f2e5bc' x='3140' y='60' text-anchor="start">&nbsp;November</text>
    <text fill='#f2e5bc' x='3450' y='60' text-anchor="start">&nbsp;December</text>
  </g>
  <g>
    <circle cx="<% tp.date.now("DDD")%>0" cy="50" r="30" stroke="#1d2021" fill="#9e948b" stroke-width="5"/>
  </g>
</svg>

> [!example]- Additional Metadata
> Weekdays:: [[<%tp.date.now("YYYY-MM-DD", 0)%>]], [[<%tp.date.now("YYYY-MM-DD", 1)%>]], [[<%tp.date.now("YYYY-MM-DD", 2)%>]], [[<%tp.date.now("YYYY-MM-DD", 3)%>]], [[<%tp.date.now("YYYY-MM-DD", 4)%>]], [[<%tp.date.now("YYYY-MM-DD", 5)%>]], [[<%tp.date.now("YYYY-MM-DD", 6)%>]]
> Year:: <% tp.date.now("YYYY", 0)%>
> Quarter:: <% tp.date.now("YYYY-[Q]Q", 0)%>
> Month:: <% tp.date.now("MM[.] MMMM YYYY", 0)%>

**Table of Contents:**
\`\`\`toc
style: number
\`\`\`
___

## Weekly Intentions
| **Day**                                  | **Intention** |   **Difference**   | 🐻 Bearable | ⏰ Rescuetime | βš–οΈ Scale |
| ------------------------------------ | ------------- | -------------- | --- | --- | --- |
| [[<% tp.date.now("YYYY-MM-DD", 0) %>\|<% tp.date.now("dddd (MM/DD)", 0) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |
| [[<% tp.date.now("YYYY-MM-DD", 1) %>\|<% tp.date.now("dddd (MM/DD)", 1) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |
| [[<% tp.date.now("YYYY-MM-DD", 2) %>\|<% tp.date.now("dddd (MM/DD)", 2) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |
| [[<% tp.date.now("YYYY-MM-DD", 3) %>\|<% tp.date.now("dddd (MM/DD)", 3) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |
| [[<% tp.date.now("YYYY-MM-DD", 4) %>\|<% tp.date.now("dddd (MM/DD)", 4) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |
| [[<% tp.date.now("YYYY-MM-DD", 5) %>\|<% tp.date.now("dddd (MM/DD)", 5) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |
| [[<% tp.date.now("YYYY-MM-DD", 6) %>\|<% tp.date.now("dddd (MM/DD)", 6) %>]] |               |                | βŒβœ… | βŒβœ… | βŒβœ… |

---
## Summaries
### <% tp.date.now("dddd, MMM. Do", 0) %>
- 

^<% tp.date.now("YYYY-MM-DD", 0) %>-journal-link

### <% tp.date.now("dddd, MMM. Do", 1) %>
- 

^<% tp.date.now("YYYY-MM-DD", 1) %>-journal-link

### <% tp.date.now("dddd, MMM. Do", 2) %>
- 

^<% tp.date.now("YYYY-MM-DD", 2) %>-journal-link

### <% tp.date.now("dddd, MMM. Do", 3) %>
- 

^<% tp.date.now("YYYY-MM-DD", 3) %>-journal-link

### <% tp.date.now("dddd, MMM. Do", 4) %>
- 

^<% tp.date.now("YYYY-MM-DD", 4) %>-journal-link

### <% tp.date.now("dddd, MMM. Do", 5) %>
- 

^<% tp.date.now("YYYY-MM-DD", 5) %>-journal-link

### <% tp.date.now("dddd, MMM. Do", 6) %>
- 

^<% tp.date.now("YYYY-MM-DD", 6) %>-journal-link

## Weekly Review
### Weekly Takeaways
1. 

### Journal Prompts

**What major things happened this week**?
- 

**What were my biggest wins this week**?
- 

**What did I learn this week**?
- 

**What did I finish this week**?
- 

**What are my goals for this month**?
![[<% tp.date.now("MM[.] MMMM YYYY")%>#Monthly Goals]]
*How am I going to move forward on those goals in the week ahead? OR If those goals need to change, what am I doing to adjust in the week ahead?*
- 

^weekly-review

---
## Data
### Bearable Weekly Report

^<% tp.date.now("GGGG-[W]WW")%>-bearable

### RescueTime
#### Weekly Productivity Tracking 

\`\`\`chart
type: bar
labels: [Very Productive, Productive, Neutral, Distracting, Very Distracting]
series:
  - title: Toplevel (by time)
    data: []
tension: 0.2
width: 80%
labelColors: true
fill: false
beginAtZero: true
\`\`\`
^<% tp.date.now("GGGG-[W]WW")%>-productivity-bar

\`\`\`chart
type: pie
labels: [Very Productive, Productive, Neutral, Distracting, Very Distracting]
series:
  - title: Toplevel (by %)
    data: []
tension: 0.2
labelColors: true
fill: true 
beginAtZero: true
\`\`\`
^<% tp.date.now("GGGG-[W]WW")%>-productivity-pie
#### Subcategories 
\`\`\`chart
type: bar
labels: [Utilities, Communication & Scheduling, Uncategorized, Reference & Learning, Social Networking, Design & Composition, Business, News & Opinion, Entertainment, Shopping, Software Development]
series:
  - title: Subcategories (by time)
    data: []
tension: 0.2
labelColors: false
fill: true
beginAtZero: false
\`\`\`
^<% tp.date.now("GGGG-[W]WW")%>-categories

\`\`\`chart
type: bar
labels: [Utilities, Communication & Scheduling, Uncategorized, Reference & Learning, Social Networking, Design & Composition, Business, News & Opinion, Entertainment, Shopping, Software Development]
series:
  - title: Subcategories (by %)
    data: []
tension: 0.2
labelColors: false
fill: true 
beginAtZero: false
\`\`\`
^<% tp.date.now("GGGG-[W]WW")%>-categories-pie

## Obsidian List Modified
Files created today:

You can see the OLM section at the end here

franciskafieh commented 1 year ago

The settings are set up so they can be, but I usually create them by hand. Either way, same folder. So periodic note settings:

Yes, that should be all that matters. This means I'd be able to pull the name of the file from those settings instead of the user needing to enter it. Thing is, I was also thinking of going back to the v1 of allowing users to make custom log files. Will probably implement these at the same time eventually.

franciskafieh commented 1 year ago

Actually wondering how custom file select would work. Maybe I'll make a "log" option where one constant file is selected and there is a new heading every day? Going to open another issue for that, since it's unrelated to your FR

brimwats commented 1 year ago

Thank you for thinking about it!

franciskafieh commented 1 year ago

going to prioritize this as it should be super simple to implement

rmchale commented 1 year ago

Any update on this one? Thinking about switching to weekly notes instead of daily notes

franciskafieh commented 1 year ago

I do plan on getting this added for release 2.1, but as per the README:

development of this plugin is on hold until February as I am very busy with academics. This plugin is not abandoned.

I hope to get this released ASAP, but I have a really tight schedule ATM and do not have time to devote to the plugin until february.

brimwats commented 1 year ago

there's no stress @franciskafieh !

franciskafieh commented 1 year ago

just wondering @rmchale @brimwats , would allowing only (one of) daily/weekly/monthly/... at a time suffice? or would you prefer having multiple on at once?

rmchale commented 1 year ago

One at a time works for me. I switched from daily notes to weekly

rmchale commented 1 year ago

I feel like a regex for file selection could work..

franciskafieh commented 1 year ago

I feel like a regex for file selection could work..

if you mean to select the current periodic note, there's a library that the periodic notes plugin author wrote that does this, so we wouldn't need a regex

franciskafieh commented 1 year ago

One at a time works for me. I switched from daily notes to weekly

Sounds good!

brimwats commented 1 year ago

just wondering @rmchale @brimwats , would allowing only (one of) daily/weekly/monthly/... at a time suffice? or would you prefer having multiple on at once?

I generally have a monthly one and it would be nice to open it in upcoming but not necessary!

franciskafieh commented 1 year ago

upcoming

Would you mind explaining to me what upcoming is? I've never used periodic notes, but I'm looking through it right now, and I can't find any feature with this name

franciskafieh commented 1 year ago

Implemented a dropdown menu to choose from daily/weekly/monthly in 2.1. Currently, quarterly and yearly are not options because I couldn't see why people would want them, and I'd imagine they would get slow pretty quick, as more files add up to the list.

brimwats commented 1 year ago

thank you so much!!

franciskafieh commented 1 year ago

Hey everyone, just released version 2.1. Feel free to give it a spin and let me know how it goes!