< 132022-12-14⋎15 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
15:35symbioquine[m]I think I've mostly got the change working to show task-link tabs for the different asset bundles when viewing "located assets"...
15:35symbioquine[m]The only issue is the top-level "Assets" tab is duplicated when any of those views are selected;
15:35*uploaded a video: (176KiB) < libera.ems.host/_matrix/media/v3/downloa >
16:51paul121[m]ohhh interesting
16:53paul121[m]symbioquine: not sure if you saw this PR a while back? github.com/farmOS/farmOS/pull/573
16:54paul121[m]there had been a bug where only the All secondary tab would mark the primary tab as active: github.com/farmOS/farmOS/pull/573/commit
16:55paul121[m]the key is that the route_parameters can't conflict between the primary and secondary tabs
16:55paul121[m]still grokking what's happening in this but that at least seems relevant!
17:47symbioquine[m]Huh, interesting...
17:47symbioquine[m]I have part of that change in place already. Just need to try removing the all argument for the primary tab...
17:48symbioquine[m]Oh wait. Actually it's already that way.
17:50symbioquine[m]The primary tab link is localhost/asset/1/assets
18:02paul121[m]its just so odd that it shows twice...
18:03symbioquine[m]Yeah, I thought it might be some sort of artifact from making the change itself, but I did a full re-install and it still shows up that way.
18:05symbioquine[m]This is my change so far: github.com/symbioquine/farmOS/commit/c47
18:41lordeddi[m]Hi,
18:41lordeddi[m]have been enjoying my farmos instance, inputting lots of "old" data.
18:41lordeddi[m]It makes it like a house where you move in and put stuff everywhere, it becomes more lively :)
18:43lordeddi[m]any recommendations: i feel the need for "techniques" and or "designs" in farmos,
18:43lordeddi[m]you can harvest a tree by raking, whacking, picking one by one, shaking with a tractor,....
18:44lordeddi[m]it seems this is like an "asset" almost
18:45lordeddi[m]a harvest or seeding log can have a technique used
18:46lordeddi[m]taxonomy does not seem right for what i need. i want something i can add logs to, since i will be learning about techniques, will have observations, updates etc
18:47lordeddi[m]e.g. i could do it making "equipment" assets 😄
18:50symbioquine[m]Monthly call in 10 minutes! farmos.org/community/monthly-call/
18:50symbioquine[m]farmos.discourse.group/t/farmos-monthly-
18:52symbioquine[m]<lordeddi[m]> "taxonomy does not seem right for..." <- You could always create your own entity type (e.g. a "Harvest Technique" entity) and add fields to the relevant log types to associate the log with your custom entities.
18:53symbioquine[m]Or it could be a taxonomy term and you could similarly add a custom field to the harvest log type which references the taxonomy term
18:55lordeddi[m]i like your first solution more
18:55mstenta[m]> any recommendations: i feel the need for "techniques" and or "designs" in farmos,
18:55mstenta[m]> you can harvest a tree by raking, whacking, picking one by one, shaking with a tractor,....
18:55mstenta[m]I wonder if this is comparable to the "Method" field that is on Input logs - for recording the method used to apply the input (eg: broadcast)
18:55lordeddi[m]i will look into that
18:57lordeddi[m]this has the same limitation for my usecase/need. i really want to document a technique/method or design. what are the pros and cons, what worked, what didn't
18:57symbioquine[m]<lordeddi[m]> "taxonomy does not seem right for..." <- You could also add a field referencing your entity/term to observation logs to allow observations about the technique in general
18:57mstenta[m]Yea that's interesting lordeddi
18:58mstenta[m]Another thing that comes to mind: we've been discussing adding a "Document" asset type
18:58mstenta[m]which could be used to manage things like SOPs
18:58mstenta[m]These techniques almost sound like SOPs in a simpler sense
18:58symbioquine[m]One thing to consider though is perhaps farmOS itself might not be ideal for storing the actual documentation about the techniques...
18:58symbioquine[m]A wiki seems more applicable
18:58lordeddi[m]it feels like i "just" want to add an asset to a seeding, birth, harvest log, which is an asset with aaaaalll its history, revisions, logs, cross-referencing other assets
18:58lordeddi[m]which seems so asset-y to me :D
18:59lordeddi[m]symbioquine[m]: this is correct, i also feel wiki's
18:59lordeddi[m]:)
18:59lordeddi[m]but then a wiki which i can "tag" onto a log or an asset.
19:00symbioquine[m]meet.jit.si/farmos-community
19:00lordeddi[m]i will for now test the asset way, and learn from it.
19:44symbioquine[m]github.com/recommendsmart/farmsys/blob/1 (Not sure if this is getting counted towards that metric...)
19:45*uploaded an image: (24KiB) < libera.ems.host/_matrix/media/v3/downloa >
19:45symbioquine[m]buttondown.email/farmOS/archive/
20:15mstenta[m]huh i wonder what farmsys is
20:37symbioquine[m]Yeah, no idea :)
21:46lordeddi[m]symbioquine: great writeup, need to reread and think about it. (early-draft-post-thinking-about-orga... post)
21:50lordeddi[m]Also : farmos.discourse.group/t/represent-farmo
21:50lordeddi[m]I might be able to make it tp fosdem... 🤔
21:50lordeddi[m]* symbioquine: great writeup, need to reread and think about it. (farmos.discourse.group/t/early-draft-pos)
21:52mstenta[m]I'll send you a farmOS sticker to put on your t-shirt so you're official lordeddi 😄
21:52mstenta[m]but seriously: give it some thought! i'm not sure what the cost is, but maybe the farmOS opencollective funds could help offset it
21:55lordeddi[m]will do. Cost shouldnt be very high i guess. Im quite familiar w brussels, and fosdem :)
22:58paul121[m]<symbioquine[m]> "This is my change so far: https:..." <- this seems spot on! I was expecting to see the existing task link definition changed/removed... but I don't see that in this commit. Would that explain where there are two "Asset" primary tabs?
23:10paul121[m]... I can't find where the current action link is defined?
23:10paul121[m]s/action/task*/
23:13paul121[m]ohhh I think it is configured on the page_location view itself
23:13paul121[m]Page settings -> Menu -> Menu Tab: Assets
23:14paul121[m]I bet if you remove that then this will work
23:15symbioquine[m]Huh, interesting... I'll have to try that when I get back to my computer!
23:15paul121[m]but makes me wonder, should we be configuring it in the view, or more strategically ourselves?
23:16paul121[m]Many of the other farm_ui_views task links are done via the deriver. But the "Assigned assets" has a menu tab configured as well
23:16mstenta[m]Only partially keeping up on this... but I tend to think its best to keep all the menu linj logic together... so dont put some in the view and some in php
23:17mstenta[m]That might be why all of ours is in php not in view config
23:17paul121[m]I think our is quite mixed :-)
23:17mstenta[m]I mean for a given set of links
23:18mstenta[m]Where its simple put it in the view
23:18paul121[m]The /assets "menu entry" (not tab) is in the view as well
23:18mstenta[m]But the reasoning is never perfectly clear cut
23:19paul121[m]ah yes. I agree, when the links are related it would be best to keep them together! That was motivation for my previous PR
23:19paul121[m]it would be hard to add a secondary tab to this views configured primary menu tab I think... because they get these weird IDs
23:22paul121[m]well, given that this does fix that issue, I already approve the PR :D
23:23paul121[m]s/given/assuming*/

< 132022-12-14⋏15 >