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