liamcain / obsidian-calendar-plugin Goto Github PK
View Code? Open in Web Editor NEWSimple calendar widget for Obsidian.
License: MIT License
Simple calendar widget for Obsidian.
License: MIT License
Is it possible to show dots for weekly notes in the Calendar just like those for daily notes?
When clicking on a day without an associated note, and clicking create
, the plugin fails to create a new page with the following error. Using Obsidian Version v0.9.11 on Windows 10 and plugin version v1.2.2.
app.js:1 Uncaught (in promise) TypeError: Cannot read property 'cachedData' of null
at t.<anonymous> (app.js:1)
at app.js:1
at Object.next (app.js:1)
at app.js:1
at new Promise (<anonymous>)
at s (app.js:1)
at t.cachedRead (app.js:1)
at getDailyNoteTemplateContents (eval at <anonymous> (app.js:1), <anonymous>:1091:22)
at createDailyNote (eval at <anonymous> (app.js:1), <anonymous>:1112:36)
at CalendarView._createDailyNote (eval at <anonymous> (app.js:1), <anonymous>:1239:33)
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
(anonymous) @ app.js:1
s @ app.js:1
t.cachedRead @ app.js:1
getDailyNoteTemplateContents @ template.ts:41
createDailyNote @ template.ts:68
_createDailyNote @ view.ts:134
onAccept @ view.ts:148
eval @ modal.ts:30
async function (async)
eval @ modal.ts:30
I love the idea of this plugin, but.. its doing "nothing" for me on Win 10 Obsidian 0.9.10 - I click the days and nothing happens.
Am I missing something?
I saw no mention of this 0.9.10 release on their Twitter - so I was pleasantly surprised to be able to run 3rd party plugins today :)
I installed the plugin, no errors were reported - but I'm unable to switch to any calendar view.
There is no content menu entry on the daily notes folder, there does not seem to be a hotkey.
Would be great if the documentation not only showed the plugin in action but also how to actually use it.
(I'm running Obsidian 0.9.10.)
There will be many CSS for plugins. To add comments of:
Will be good practice to do.
My suggestions:
/* Obsidian-calendar-plugin */
/* https://github.com/liamcain/obsidian-calendar-plugin */
#calendar-container {
--color-border: #2e3440;
--color-hover: #3b4252;
--color-empty: #434c5e;
--color-dot: #81a1c1;
--color-active: #bf616a;
--color-today: rgb(72, 54, 153);
}
Operating System: Win10
What I wanted to see: When I clicked the button to create a daily note of one day, it could generate the daily note well.
What I saw: When I clicked the button, an error message appeared in the console:
Uncaught (in promise) Error: File name cannot contain any of the following characters: * " \ / < > : |
What I changed on the Daily note plugin:
When I changed the default format of dailynote or changed the default storage location of dailynote, this bug would appear.
Request from Discord:
if i use backlinks, it only shows the backlinks of the current note that is open. I'm trying to just see all notes that have [[date]] on the day you click on your calendar. So its almost like its own search engine separate from backlinks of the open note
Waiting on the following:
moment
Maybe right clicking on a day/week could behave the same as right clicking in the note on the file tree, and have at least the following options:
and maybe "make a copy" too? the "rename" does not make that much sense to be honest.
What drove this feature request is that I have found myself clicking on a day, creating a note by mistake and then trying to right click it to delete it.
Hello,
the plugin is working great now! I'm not sure why one needs the popup confirming creation of new pages - that's an easy operation to undo and empty pages don't do a big harm IMO.
Would love to disable that as an option.
Cheers!
I find extremely useful to have a monthly note where I keep my TODOs for example.
A little bit in the bullet journal philosophy.
We could click on the month in the calendar to go to it.
Or ctrl+p
"Open this month's note" or "Open monthly note".
This would probably require another configuration for the monthly naming schema.
This also opens the question if an yearly note makes sense, and to be honest, I have not yet felt the need for it.
It will be amazing to add this functionality!
Hi Liam,
Thanks for the wonderful plugin!
It would be nice if the calendar could be opened as an independent pain, the same way as the Graph view (and local graph view) can be opened in new pain.
This way, one can have it always open (and pin it to the workspace) and would not require the whole left sidebar to be expanded. (I am using Obsidian on a vertical screen and opening the left sidebar takes virtually 30% of the space π .)
Using calendar plugin v1.1.3 / Obsidian 0.9.10 / Ubuntu 12.04.
My daily notes settings are as follows:
Once the calendar plugin is displayed, clicking on a 2020-10-30 leads to this warning:
The note for that day does exists; its path relative to the root vault is j/2020-10-30 Fri.md
, as can be deduced from the daily notes settings.
Hi, thank you so much for making this plugin, which makes joy when using the daily notes plugin.
I have a request (if it's possible), that is giving a mark/highlight to the calendar for daily notes which contain #important tag?
Thanks again!
OS: Windows 10
Obsidian v.0.9.11
As usual, LOVING this plugin. Recently, I noticed that there has been a bug with regards to pinned windows. In Obsidian, typically if a window is pinned, if I try to open another window, it opens in a new pane. However this plugin seems to override that. If I pin a note and try to open a new daily note from the calendar plugin, it always opens on the pinned note instead of opening a new window. Note that this does not occur if I open a daily note from Obsidian's navigation.
Overridden pinned window after opening daily note from calendar plugin
It isn't clear to me what dots represent - every 100 words? In any case, I'd like if I could define a daily target (e.g. 1000 words).
Not sure how feasible it is, but it'd be nice if there was a filled percentage of each box (e.g. box is blank normally, fills with white) as it nears the target. Even absent this, defining the words per dot would be nice.
For some reason the CSS class name of the plugin is:
#calendar-container.svelte-wd85n9.svelte-wd85n9
not #calendar-container
I might be missing something, but there doesn't seem to be a separate variable for changing the color of the year. Matching the theme accent color is a little too eye-catching for me.
Thanks for a great plugin!
Hi,
This plugin looks awesome, and I have installed it on Obsidian 0.9.10. But I am not able to get the calendar to display anywhere?
So how do I get started with this thing?
Request from discord:
hi liam - kinda minor, but the calendar redraw on switching between two daily note panes doesn't switch the month if required.
Current thinking:
anthonyg that's intentional for now. I want changing the calendar month to be a more deliberate choice. I'll file an issue on github to track but I'm more inclined to add a command palette command to 'reveal active file on calendar'
Cannot create customized notes, for example "YYYY-MM-DD(ddd)" 2020-10-30(Fri)
I've recently started using the Calendar plugin, and it's awesome! One thing I'd love to see is the option to automatically resize the width of the calendar to fit the container.
I'd like to see the calendar resize horizontally to fit the container, here:
As I mentioned above, the calendar has a fixed, maximum width, so it doesn't look as good as it would if it resized automatically.
Obsidian: v0.9.16 and v0.9.17
Calendar: v1.3.1
OS: macOS 11.0.1
For some reason the CSS class name of the plugin is:
#calendar-container.svelte-wd85n9.svelte-wd85n9
not #calendar-container
Wildcard matching for people who use something like "YYYY.MM.DD β NOTENAME". In that case I imagine something like "YYYY.MM.DD β *".
If you have "YYYY-MM-DD HH-mm" in you note the plugin won't work for yesterday note because it's looking for one with yesterday date and current time.
When I run "Calendar: Open View" through the command palette or via hotkeys, nothing happens.
The plugin give "fail to install" message when installing via Obsidian 0.9.9
I live by week numbers. For instance, this week's number as of 2020-11-02 is 45.
It would be useful for me if Calendar plugin would display it.
Even greater to me would be the ability to link that week number to its related page, with the ability to customize the pattern for the path of said weekly pages.
Cheers, and thanks for the fish ;-)
I love this update versionοΌ1.3.1οΌvery much, it helps me a lot on weekly note, thanks for your great jobοΌ
Would you pls check the pic, I'm used to starting the week from Mon, but when I use following template, the Sunday seems still be last week of Sunday. Could you kindly fix it?
# {{title}}
## πππ
- [ ]
- [ ]
- [ ]
## {{monday:YYYY-MM-DD [Mon]}}
- [ ]
## {{tuesday:YYYY-MM-DD [Tue]}}
- [ ]
## {{wednesday:YYYY-MM-DD [Wed]}}
- [ ]
## {{thursday:YYYY-MM-DD [Thu]}}
- [ ]
## {{friday:YYYY-MM-DD [Fri]}}
- [ ]
## {{saturday:YYYY-MM-DD [Sat]}}
- [ ]
## {{sunday:YYYY-MM-DD [Sun]}}
I like to have the weekend columns a different color on my Calendar so it's easier to know which days are the weekend. This is helpful since I use Monday as the first day of the week, but am conditioned to think of Sunday as the first.
I'd be fine with the dates themselves a different color, though I'd prefer to have the entire column a different color.
Hi, I have had my file name syntax for years: Week-YYYY-ww
. The Calendar plug-in translates the word Week into a number. What should I put to get the word "Week" (w/o the quotation marks).
Besides Daily notes with my schedule, I write an additional personal journal where I describe my personal affairs.
That notes are stored in another folder and have other filenames.
If I could travel be each note type separately in calendar form I would be very happy
OS: Windows 10
I have a daily note folder to keep my daily notes away from the main pane. However the plugin isn't recognizing it. It will only recognize daily notes that are in the main folder. When I make a daily note thru the app and then move it, it also breaks the recognition and says it doesn't exist.
A request from discord:
Is there a way to see a threshold on the dots? My daily notes template contains enough text on it's own to get two dots so I was wonder if I could adjust that to be what is considered a one dot amount of text and scale the other dots from there.
I was trying to figure out why my TODOs were not showing up as incomplete in the calendar.
Apparently, obsidian prefers the notation - [ ]
, but it also formats * [ ]
, which I was using.
As soon as I switched, it worked.
Should you support the Obsidian supported, but apparently non standard notation too?
Hello,
This isn't really an issue, but I was wondering what theme you used in the screenshot you have in README.md. It looks really good and I'd like to use it myself.
Thanks!
Great work on this plugin! I came across a minor issue. If Obsidian remains open (I tend to never close it) it seems like the active day will not change. After a quick look, it appears that const today = (window as any).moment();
isn't refreshed at all. Maybe a refresh when using the Open today's Note keystroke could do the trick to always show the active day.
Please allow a setting of "0" in words per dot to effectively disable the setting (hide all dots in the calendar). This would still allow the plugin to be used for task management (open dot for open tasks).
OS: Windows 10
Obsidian Version: 0.9.10
Plugin Version: 11.7
For about the last day, I have been receiving an error that the daily note template cannot be read. I doubled checked all the settings and everything is ok. When I use Obsidian's native daily note creator button, there is no issue using the daily note template.
I make daily notes both on English and Russian, however "Words per dot" counts words only made in English.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.