Good suggestion. I wanted to show tags in the event, now I have to consider whether it will have a display problem on mobile.
And my next step is to fix the itonnote theme!
Good suggestion. I wanted to show tags in the event, now I have to consider whether it will have a display problem on mobile.
And my next step is to fix the itonnote theme!
@Pak @Watt Updated in latest release v0.3.0 , see documentation for readonly mode, and tryout all day events. Also time is put below the title.
Very nice additions, thank you very much @linonetwo . The documentation and examples are also very helpful. Great calendar for mobile!
Great! Love the read only mode. I’ll be looking forward to the development of this plugin. (It is very good as it is now.) Thank you.
Fantastic work @linonetwo
An outstanding issue in native tiddlywiki is an effective date picker, we need both a normal popup calendar select with or without displaying the date. eg an Icon to select the date and/or time with or without also displaying the time.
The final outstanding issue is basic date arithmetic just add or subtract N days from a provided date while honouring the calendar would be very helpful.
Without suggesting you do anything specifically I think there value in ensuring your solution has this hackability and tweak ability that many of @EricShulman It’s all about time date/time tools can be used along side this calendar.
Advanced feature to keep in mind.
Love your work
Actually I was hoping this PR can provide the date time picker we need https://github.com/Jermolene/TiddlyWiki5/pull/6377#issuecomment-1335634884 . I hope I can depend on other plugin to provide the date time picker, other than provide it from my side…
But yes, this FullCalendar library can be used to build a date time picker, but just require much extra typescript work I think.
About the project management, I’m still exploring, I may find the solution at sometime.
However I just realised we may be able to provide a more generalised solution.
<$edit-text ... type=date />
I wonder if we could just improve the way we handle the result that comes from the edit-text widget regardless of the HTML type that is used, but especially for dates.
First, have a look at https://tiddlytools.com/#TiddlyTools%2FTime%2FEditDate macro.
It provides an $edit-text input control with a popup Calendar. If TiddlyTools/Time/Calendar is not installed (or if “type:date” is specified as a parameter), then the default HTML date picker is used as a fallback; and, if “type:button” is specified, then the $edit-text input control is suppressed and a $button is used instead.
For your purposes, you can get a simple button when using type=date
(the default HTML date picker), without using TiddlyTools/Time/EditDate, like this:
<$edit-text tiddler=... field=... class="date-button" tag="input" type="date"/>
where the date-button
class is defined as:
.date-button { width:1.5em; height:1.5em; padding:0; }
The really important part is width:1.5em
, which forces the text input field to only be wide enough to show the system-provided calendar icon, which effectively hides the date input text.
enjoy,
-e
Thanks for the great plugin. Could I directly open the tiddler, instead of opening preview window?
Ok, there can be a config to modify this. Maybe add it later
Just a few more suggestions
startDate
and endDate
. Currently, tillders without fields startDate
and endDate
are displaying in the calendar, but cannot move them.title
instead of caption
when a new tiddler is created?See the doc, you can set param to use different field as start/end, then you can drag tiddler with these fields.
But tiddlers with only created/modified can’t drag, because you shouldn’t modify its modified field like this.
We show title, if a tiddler don’t have a caption. But surely we can add a checkbox, to allow create new tiddler in calendar with only title.
These changes will only happened in half a years, because I don’t really need them, and I’m going to create new plugins that I need, but you can submit PR to achieve them, thanks. And make sure each PR only contain one change, so its easier to review!
Thanks. I make some changes to directly open tiddlers instead preview panel. However, I cannot find the link for github repo. How can I make a PR?
A small tip to modify field startDate
and endDate
for tw-calendar
plugin through a ViewTemplate
.
todo
.It’s on doc site
also pasted it here GitHub - tiddly-gittly/tiddlywiki-calendar: Widget and Page Layout displaying tiddlers on calendar and agenda, based on created, modified, startDate and endDate fields.
How do I configure your month calendar to show only one month permenantly for instance May 2024.
a) How do I configure the clickable link in the calendar square to show not the title but the contents of the relevant tiddler’s “journal-synopsis” field, and b) let it wrap so that the box will lengthen as necessary to show the contents of the field.
This next seems to be too far from the original purpose of your calendar, since I am trying to use it as a past-oriented diary month overview and not a future-oriented schedule book. I’m using Mohammed’s Journal-book and in a tiddler dated day 0 of each month (so as to put it at the top of the month) I am trying to embed your dayGridMonth widget.
If this is too far from your calendar’s purpose, how do I keep the contents of the “journal-synopsis” from being a link?
If it is not too far from your calendar’s purpose:
This is as far as my experimentation has been able to go (I don’t really know what I’m doing):
<$calendar filter="[tag[Journal]has[journal-synopsis]!is[system]]" startDateFields="journal-date" initialView="dayGridMonth" hideToolbar="yes" width="90%" />
So sorry if I am trying to use your calendar the wrong way or if you are very busy please don’t worry about it.
There is a initialDate
param in the doc, and an example https://tiddly-gittly.github.io/tiddlywiki-calendar/#WidgetUsage
I believe it can accept a variable, so you can dynamatically generate calendar for old days.
You can add custom sections to the popup, by adding $:/tw-calendar/EventPreviewMiniViewTemplate
tag, see the source code
You can create a custom tiddler that can edit the “journal-synopsis” field of currentTiddler
, and add this tag, it will show on every popup on calendar. But I’m not sure about what is the “clickable link” you said.
This plugin should be extensible with $:/tw-calendar/EventPreviewMiniViewTemplate
tag.