It has some basic color-coding for core log types, and will show a solid circle for “Done” tasks and an empty circle for “Pending” tasks.
Still “alpha” but if there aren’t any major bugs I might tag a 1.0.0 soon… so feel free to try it out and provide feedback in this thread.
I don’t really plan on taking it much farther, unless the requests are simple (like maybe some Views exposed filters for log type/status/etc). The main motivation was to provide something similar to the calendar feature in farmOS v1, which we lost when we upgraded to v2. A few v1 users were disappointed by this, as they had come to depend on it as a way of visualizing tasks. We’ve discussed in other threads (linked below) that it doesn’t really make sense for farmOS core to maintain a full-fledged calendar module, because there are other systems that already do that better than we can, so we’ll probably still focus on iCal feeds etc as the next step in core. But this little contrib module was easy enough to throw together, and it provides a nice simple visualization, so hopefully some folks find it useful.
Oh I forgot to mention, this currently depends on the 2.x-dev release of the Drupal Calendar View module. There are two bugs in that module that have been fixed in the dev branch, but haven’t been included in a release yet:
This is only for testing right now… but as soon as I tag 1.0.0 I can enable on all your instances! Want to do some testing for us to see if you can find any bugs? There’s already one that was discovered which I will fix soon…
Calendar doesn’t look too good on the dark mode, low color contrast on log titles makes them hard to read.
It seems to be an issue with the Calendar View module so I’ve opened an feature request to add support for Gin theme dark mode in its issue queue. If/when it will be implemented, it would be nice to update this module to include the fix.
I like it a lot. Very informative.
Not sure I get the colors… Yellow seems to be for “done” tasks.
Not a bug, but could the next / previous month be more centered? If going back and forth theres a lot of mouse movement.
I can see a filter box could be very useful.
And maybe some info about the colors.
Perhaps a way to visulaize the logs owned by the current user.
Sorry, I can’t hold back the ideas…
Was also thinking of the general plan module discussed earlier. Could not find the topic at the moment. Could this be used for viewing plans?
I have a category for short and long term plans. They could show as 12 boxes. One for each month of the year.
And for long term plans, one box pr year.
I’ve released v1.0.0 of the farmOS Calendar module and made it available to enable on Farmier-hosted instances.
Thanks for reviewing/testing! Couple of quick responses to specific things…
That’s unfortunate. Thanks for opening the upstream issue @wotnak! It is definitely an issue with the way the Calendar View module interacts with the Gin theme. Hopefully the maintainers of those two projects can figure out a good solution.
If the log is “pending” the circle next to the log name will be empty. Otherwise, it will be a solid circle. (Almost like a radio button that’s been checked)
Color is determined by log type (hard-coded for some of the common core types):
All others (default fallback) are blue (a bit lighter than observations): #3498db hex color
These are great ideas @pat! Like I said above I don’t have plans (or funding) to dig much deeper on this module in the short term, but I think a lot of these would be great next steps for v1.0.1 or v1.1.0.
Hm…
On my side all logs have a solid circle. The log to the right is pending, and the log to the left is done.
This happens even if the log is pending in the past.
It’s the same in Firefox and Brave.
Edit: It’s also the same with light mode in farmOS
Ahh I think this is a legitimate bug @pat - thanks for bringing it up! I think this is because your site is using translations. The CSS class it looks for is Pending not pending so it might be getting translated. I’ll open a bug report for that and fix it in a 1.0.1.
Hey is this calendar thing ready to use? I have found I am not using FarmOS much because the lack of calendar makes it difficult to plan and review. This is critical for this software to be valuable to my operation and so glad to see progress. Can it be loaded into my account?
Hi @Jason - yea you can enable it yourself! Just go to Settings (top right), then click the “Modules” tab, and it’s down near the bottom under “Community modules”. Hope that helps!