mstenta / farm_crop_plan

Crop plan type and related features for farmOS. (ALPHA 3.x IN DEVELOPMENT)
https://drupal.org/project/farm_crop_plan
GNU General Public License v2.0
5 stars 1 forks source link

Add timeline slider with map and other info #28

Open jgaehring opened 3 years ago

jgaehring commented 3 years ago

We discussed the idea today of including a map above (or next to) the timeline, with a slider that draws a vertical line through the timeline to indicate what point in time the map is displaying. This way the user could control exactly what stage of their crop plan they were viewing, and which plantings and logs align with that timing.

In my mind it would look sort of how the slider works in Audacity; note the red line to the far right with an inverted triangle along the top:

image

They also enable time ranges to be selected and dragged, like this:

image

In addition to updating the map, we could also have snapshot info of the farm at that point in time, such as how many acres are currently planted, how many total plantings you have, maybe even how many trays you have planted at that point (helpful for keeping greenhouse inventory).

ludwa6 commented 3 years ago

Right on, @jgaehring ! Had not seen this issue before i posted this one, but i describe a couple of UseCases there, what are most important to me now (and more, when those are solved).

As to implementation: the Audacity model is interesting, but for one that is both simpler AND more relevant to Crop Planning use cases, how about this "Open Source Javascript Gantt" library? That links to a live demo page, where you can play w/ the few simple/ powerful interactions it enables -just what my users have been begging for!

NB: Farming events are often triggered not only by the date/time that was planned, but just as often by another dependency -e.g. the start or finish date of another crop. That visualisation libe also supports such dependent triggers, b/t/w.

jgaehring commented 3 years ago

Ooooh, I'll have to bookmark that library, @ludwa6, great find!

I'm still sitting on a ton of old sketches for improving the usability of Crop Plan once we get the bulk of the 2.0 work behind us, can't wait to chat more about those possibilities once we get closer, if you have an interest.

mstenta commented 3 years ago

Relevant: https://github.com/farmOS/farmOS-map/issues/53

ludwa6 commented 3 years ago

Having both Gantt chart (i.e. timeline) AND map on the same page, adjustable via slider on the timeline, would be awesome... So long as we're not letting Perfect become enemy of the Good. I for one can live just fine w/ map reflecting asset positions as they stand; it's usability of the Crop Plan that the issue for me.

ludwa6 commented 3 years ago

Ooooh, I'll have to bookmark that library, @ludwa6, great find!

I'm still sitting on a ton of old sketches for improving the usability of Crop Plan once we get the bulk of the 2.0 work behind us, can't wait to chat more about those possibilities once we get closer, if you have an interest.

Crop Planning is what i'm all about now, @jgaehring , so whenever you care to share those ideas you have sketched out, i'll be all over them!

mstenta commented 3 months ago

Dusting off this old issue, but just wanted @ludwa6 to know that we just released a new "alpha" release of this module for farmOS v3, which uses the svelte-gantt library for visualization! :tada:

Still a lot to do... and we'll be continuing the conversations/design/brainstorming in the forum. I started this topic: https://farmos.discourse.group/t/farmos-crop-plan-module-v3-alpha-release/1934

I'm going to leave this (and some other) issues open for now, but we may end up archiving this issue queue and focusing discussions in the forum moving forward. So join us over there if you're interested! :-)