Based and inspired from @zeus-webJournal Calendar , i’ve redone this with a graphical-UI & as a floating JournalCalendar which stays on top of your page even if you navigate away from your page. this can make your Journal Navigation much more flexible.
You can find it in Mr-xRed Silverbullet Library Repo on Github or simply by adding this to your repo sources in your Library Manager:
Well, I must admit, you did a great job making “my” calendar even better But I’m glad, you liked my basic idea
To be honest, as you first came up with your side-panel ideas, I wanted to adapt that to “my” calendar, too.
However, I had some other ideas in my pipeline to complete for the calendar first (e.g. adding additional markers for different types of dates, eg. holidays, birthdays and so on). So “mine” might develop in a slightly different direction.
But I don’t even had a clue how to add such pulldown menues and buttons within the calendar itself - not to mention the great small design, anyway…
So thanks a lot for that!
However, I might use it to mix it and extend with my own ideas
But as you wrote elsewhere: This is one of the greatest features of SB / libraries (and opensource thinking) - that everyone can benefit from others work and ideas to make something (hopefully) even greater for everyone
Oh, the only thing we should consider:
Naming the functions and config settings kind of unique. So that we don’t interfere as soon someone installs both Libraries.
(You could keep yours as is, and as soon as my next iteration is ready to publish, I will transform it to the new Library Manager format, anyway and then I will name it something like “zeus-webs_JournalCalendar” or similar…)
You’re absolutely right. I’ve changed mine now in: config & functions and Library name to “FloatingJournalCalendar” so there shouldn’t be any conflicts.
Now the more you know. you’r very welcome to use and/or improve on anything from my library, that’s why I share it here so we can make greater tools together for Silverbullet and inspire new users and show them what can be achieved.
I tinkered with the code to set the theme to dark although I generally use light for silverbullet. But it will be overwritten if updated …
Would it be possible to configure the theme (dark|light|data-theme) ? Thanks.
Indeed, I don’t use the Dark theme for silverbullet but I find that the calendar looks prettier in Dark (“the tastes and the colors…!”). To achieve this, I simply duplicated the 3 css lines from [data-theme=“dark”] to [data-theme=“light”].