Thank you for this code. It finally dawned on me, the convenience of your 3D structure.
At present when I click on the month it shows a string of entries.
May I ask how do I modify this code so that when I click on the month, it first shows a (month) calendar at the top of the string of entries, but inside each calendar square (in addition to the day number) is a phrase for that day (the contents of a field named “synopsis” in any tiddler dated that day) (two phrases would show in the square if there were two tiddlers dated that day) and the phrase itself turned into a link which pulls up the tiddler the phrase was retrieved from.
This way I could see at a glance an outline of everything that happened that month before choosing to read more in-depth.
The calendar acting as a sort of TOC for the month but with a summary phrase(s) to jog the memory instead of just a numeral in the square.
I worry that asking this question to @Mohammad might feel a bit like “No good deed goes unpunished”
It’s true that Mohammad may have some relevant design work already invested in the pikaday interface (and maybe other things I’m not aware of), but that’s a simple box-per-date interface…
After seeing what you like, if nothing is exactly what you need, this might be a good moment for developing a “roll-your-own” variation, and asking for help from folks here to fill in where you get stumped…
Only you will know how much screen real-estate your summary phrases tend to need, how much you want to abbreviate them or whether to let the date-boxes expand vertically to show them at full length, whether you want tiddler previews to display more on hover, whether you want to color-code days like a heat-map, or have a badge showing how many tiddlers there are, whether you want the month in a sidebar (so entries would open in the main storyriver without scrolling away from calendar), or some other way of navigating, whether you need a mobile-responsive (or otherwise screen-size respnosive) layout…
It sounds exciting, and maybe others will chime in.
I hope my reply wasn’t discouraging! Everyone has the first bump-in-the-road moment where the problem “nothing I’ve seen is exactly what I want…” becomes the opportunity “I can tinker with this thing!” As someone who learned from the ground up, bit by bit, I’m happy to help solve problems along the way if I can.
@Mohammad I found the calendar I want to use and I even found how to get it to appear in the journal-book. I hope this is the right place to add it in the journal-book/macros tiddler. The positioning looks all right:
However that macro <<newdiary "2024" "5" >> will not change according to whichever month the calendar appears in so I changed it to <$macrocall $name="newdiary" year=<<year>> month=<<month>> /> But that is not responsive either. It still shows May 2024 no matter what month or year. Not sure what to do. I know you are very busy with Shiraz. If you don’t have time, don’t worry about it.
Also is this thread the correct place to post this? Or should I delete it and put it in a new thread titled “Putting a calendar in Mohammad’s journal-book”?
@Sapphireslinger
Sorry for not being of any help, as I wrote this around two years ago! I also not familiar with newdiary macro and Calendar you use. So, I cannot be of much help here!
The JSON I provided is an example of how to use a layout for displaying items versus category in a vertical tab. So, you can keep the layout and decide what you want to display!