[06:19:17] | * farmBOT has joined #farmos |
[12:00:10] | * skipper_is[m] has quit (Quit: You have been kicked for being idle) |
[13:58:25] | <symbioquine[m]> | farmOS monthly call in a few minutes! https://farmos.org/community/monthly-call/ |
[16:33:11] | <mstenta[m]> | botlfarm: hey! are you still around by chance? |
[16:35:01] | <mstenta[m]> | i whipped up a quick proof of concept module based on what we discussed on the call |
[16:35:58] | <mstenta[m]> | ACTION uploaded an image: (23KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/vkYfjxMZPeB... > |
[16:36:40] | <mstenta[m]> | it automatically loads all active animal assets and creates a row for each (I only have one in my local test instance) |
[16:37:08] | <mstenta[m]> | the quick form class has a `$measurements` array that you can use to define all the measurements you want to take |
[16:37:14] | <mstenta[m]> | "Weight" is just an example placeholder |
[16:37:26] | <mstenta[m]> | it will automatically render more as you add them |
[16:38:20] | <mstenta[m]> | for example: |
[16:38:32] | <mstenta[m]> | ACTION uploaded an image: (28KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/eUWAFPuVKBa... > |
[16:38:48] | <mstenta[m]> | on submit, an observation log is created for each animal, with all the measurements added as quantities |
[16:39:20] | <mstenta[m]> | i pushed the code to https://github.com/mstenta/farm_botl, but just requested transfer to https://github.com/botlfarm/ so you can take it over |
[16:39:36] | <FarmerEd[m]> | That looks handy 👍 |
[16:39:47] | <mstenta[m]> | here is where the measurements are defined: https://github.com/mstenta/farm_botl/blob/24f4d70ec0c78683d54247a9aec46a... |
[16:40:27] | <mstenta[m]> | i could see this potentially being generalized in the future, with those measurements configurable through the UI... but for now I hope this helps! 😄 |