IRC logs for #farmOS, 2025-12-11 (GMT)

2025-12-10
2025-12-12
TimeNickMessage
[11:16:06]<JJARRINF[m]>Hello, so sad for not attending to the meeting, I am in a state of learning yet..
[11:18:25]<JJARRINF[m]>I just wanted to ask about "Technical File" it is a summary of many characteristics of a plant.. like water needs, ph, nutrients, weather conditions
[11:19:35]<JJARRINF[m]>I keep this files in doc files but it would be helpful to store that in a structured way just in the plant record. May be this is a new module requirement.
[11:20:02]<mstenta[m]>jjarrinf: You could upload it to the "Plant type" term, which is referenced by the Plant asset.
[11:20:27]<mstenta[m]>(Multiple plant assets will reference the same plant type that way, and they all share the same information)
[11:20:59]<mstenta[m]>So it would be easy to get to... Go to Records > Assets > Plant ... find the plant asset you want, then click on the Plant type term link, then you'll see the uploaded doc
[11:21:23]<mstenta[m]>You could also upload it directly to the Plant asset(s), but then you'll end up uploading the same document each year I think
[11:21:39]<mstenta[m]>This can all be done without a new module
[11:23:03]<mstenta[m]>ACTION uploaded an image: (135KiB) < https://matrix.org/oftc/media/v1/media/download/AZIC-GuyXGOqRRsZPA22N2KP... >
[11:41:47]<JJARRINF[m]>Yes I am doing that (upload the files), but I was thinking on a module for having the data in a first shot screen without downloading, this files do not changes over the time..
[11:41:52]<JJARRINF[m]>ACTION uploaded an image: (163KiB) < https://matrix.org/oftc/media/v1/media/download/AcC1FKQfLjfWyUNLdbeEGsol... >
[11:42:42]<mstenta[m]>Do you mean rendering the doc file in the browser?
[11:43:27]<JJARRINF[m]>That's a good idea..
[11:43:57]<mstenta[m]>I don't know if that's possible
[11:44:09]<JJARRINF[m]>I was thinking more in add fields to plants or a new entity for technical details about the crop
[11:44:13]<mstenta[m]>(Maybe it is? I've never done it before...)
[11:44:25]<mstenta[m]>Oh I see - yes it's certainly possible to add fields
[11:54:36]<JJARRINF[m]>Okay I will see how to do it thanks!
[11:59:25]<symbioquine[m]>Weekly dev call on in about a minute! All are welcome. https://meet.jit.si/farmos-dev
[14:34:47]<mstenta[m]>symbioquine: Might be nice to include a progress bar in the setup wizard
[14:34:54]<mstenta[m]>ACTION uploaded an image: (30KiB) < https://matrix.org/oftc/media/v1/media/download/AdEt-JTA3_yLXAA3lyg7cfMi... >
[14:35:01]<mstenta[m]>(just a test/sketch)
[14:35:30]<mstenta[m]>If we did that, then it might be worth considering tracking state globally... so that you could come back to it and it would remember where you left off
[14:36:30]<mstenta[m]>Drupal has a simple state system for stuff like this... eg: `\Drupal::state()->get('farm_setup.progress')
[14:36:35]<mstenta[m]>* Drupal has a simple state system for stuff like this... eg: \`\\Drupal::state()->get('farm\_setup.progress')`
[14:37:34]<mstenta[m]>Also kind of "gamifies" the setup process a bit :-)
[14:37:43]<mstenta[m]>(you want to complete it)
[17:03:17]* farmBOT has joined #farmos