< 182021-10-19⋎20 >

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:24symbioquine[m]Was it a conscious decision not to make the crop reference(s) on plant/seed assets not link to the term page?
15:24symbioquine[m](In 2.x that is)
15:24symbioquine[m]It seems like this page is pretty useful;
15:24*uploaded an image: (125KiB) < libera.ems.host/_matrix/media/r0/downloa >
15:25mstenta[m]we just haven't prioritized that page basically
15:25mstenta[m]there's also the "Crops/varieties" tab under Assets > Plantings (in 1.x) that we haven't replicated
15:25mstenta[m]but that one can basically be accomplished just with filters on the Plant asset list anyway, so it felt kind of unnecessary
15:27*farmBOT has joined
15:27symbioquine[m]`/farm/assets/plantings/crops` in 1.x is more like `/admin/structure/taxonomy/manage/plant_type/overview` in 2.x than filtering in the plant asset list...
15:28mstenta[m]yea, and it had the counter next to each term to let you know how many active plantings were there
15:28mstenta[m]there isn't a way to get that count currently
15:29mstenta[m]"Term view page templating" might be a good general feature request
15:29mstenta[m]we could think about how to handle it in a way that works for all vocabs potentially
15:29symbioquine[m]mstenta[m]: It also would be ambiguous now that both plant and seed assets reference the crop terms.
15:29mstenta[m]and then enable linking to those pages
15:30mstenta[m]true - and iirc the count query wasn't perfect... although that was a LOOONG time ago so i forget
15:30symbioquine[m]Cool, makes sense
15:31mstenta[m](it would also be nice to have those term pages so you could quickly find things that reference them... eg if you are trying to delete a term and the reference integrity constraint prevents you)
15:31symbioquine[m]mstenta[m]: It only shows unarchived assets, for one so it isn't helpful for finding/deleting unused terms.
15:32mstenta[m]yea i was never super satisfied with that page
15:32mstenta[m]we had the same sort of thing for animal species/breed too - with same limitations
15:32mstenta[m]so i figured if anyone asked about it, we could reconsider and maybe redesign
15:32symbioquine[m]mstenta[m]: Agreed. It's also nice to have a way to link to a single page that has a summary of the animal/plant type.
15:34symbioquine[m]I'll look into it...
15:36mstenta[m]cool!
15:36mstenta[m]for consistency, it would probably make the most sense to add "Assets" and "Logs" tabs to term pages that show assets/logs that reference them
15:37mstenta[m]with maybe sub-tabs under them for each asset/log type
15:39mstenta[m]the term pages themselves will probably be pretty sparse, since there aren't many fields on most of them
15:39mstenta[m]but i think that's OK
15:40mstenta[m]fwiw i think you would just need to change this line to make the term names into links to their pages: github.com/farmOS/farmOS/blob/2ec41cbe1c
15:51symbioquine[m]<mstenta[m]> "fwiw i think you would just need..." <- Ah! That's what I was just looking for...
15:53mstenta[m](plus a `drush cr`)

< 182021-10-19⋏20 >