Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple transplantings #20

Closed
mstenta opened this issue Aug 14, 2020 · 3 comments
Closed

Multiple transplantings #20

mstenta opened this issue Aug 14, 2020 · 3 comments

Comments

@mstenta
Copy link
Owner

mstenta commented Aug 14, 2020

Feedback from Cora at Wolfe's Neck:

Often, for a single seeding, we will plant them in two different locations. I am not quite sure the best way to do this with different logs associated with them.

  • Maybe adding an option to check to add another transplanting
  • Perhaps the name of the planting asset could then default to something like “2020 location 1, location 2 cucumber” and the name of the transplanting and harvest log would be the single location that it is currently in. Not sure if it works to diverge multiple transplantings and harvests like that though.
@mstenta
Copy link
Owner Author

mstenta commented Aug 14, 2020

Another case where this is useful is (for example) tomatoes that are started in plug trays and then "up-potted" to 4 inch pots, before finally being transplanted into their final location in the field or greenhouse. In that case, you have 1 seeding (into the plug trays), and 2 transplantings.

Currently, the planting form only allows creating a single transplanting. It is possible to add additional transplanting logs OUTSIDE of the crop plan UI but they will not show in the crop plan (related: #6). Also notably: when you "add an existing planting" to a plan, if that planting already has multiple transplantings, only the first one will be linked.

@mstenta
Copy link
Owner Author

mstenta commented Aug 14, 2020

Also notably: when you "add an existing planting" to a plan, if that planting already has multiple transplantings, only the first one will be linked.

Correction: only the LAST transplanting is linked.

// Query for the LAST transplanting log associated with the planting.

The assumption being that the LAST transplanting is the one that puts the planting into it's final location in the field, and that's what we want to represent in the crop plan visualization.

@mstenta
Copy link
Owner Author

mstenta commented Mar 16, 2024

The new 3.x version no longer creates a direct link between the plan and the logs. Instead, it creates a link to the plant asset, and loads in all of the asset's logs to visualize them as dots on the timeline. So if a plant asset has multiple transplanting logs they will all be displayed.

This module no longer provides it's own form for creating plant assets, and instead relies on farmOS core for those features (for example: the core Planting quick form). So any additional UI/UX features during the creation of assets should happen there I think. That said, I'd like to see some generic shortcuts for adding logs to plant assets from the plan UI in this module too.

I think we can close this issue and pursue those ideas separately...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant