← Members

Thread

google_chat:spaces/98P_6SAAAAE:spaces/98P_6SAAAAE/threads/yWXRCGoZCOs

Messages (4)

user2026-07-06 13:56
hello
assistant2026-07-06 13:56
Hi! What can I help you with today?
user2026-07-06 13:57
use planting agent let me known planting detail formular
assistant2026-07-06 13:57
I can point you to where the Planting Detail (“Succession”) formulas live, but I can’t yet give the exact “final formular steps” without opening the specific implementation files/functions behind those symbol hits (the search results only identify the likely code locations).

What I found (most relevant code entry points):
1) Formula component / formula rendering
- `ePlantingMethod` in `libs/module/formula/src/lib/formula/formula.component.ts` (around line 184)
https://github.com/SpiraledgeVN/app.tend.com-v2/blob/develop/libs/module/formula/src/lib/formula/formula.component.ts#L184

2) “Succession generator” utilities (likely computes/derives planting timeline/date intervals)
- `SuccessionGeneratorUtils` in `libs/data-access/src/lib/services/succession-generator.utils.ts`
https://github.com/SpiraledgeVN/app.tend.com-v2/blob/develop/libs/data-access/src/lib/services/succession-generator.utils.ts

3) Planting-by and timeline day-offset logic (timeline calculations used by Planting Detail UI)
- `planbydate` in `libs/module/my-crop/src/lib/component/my-crop-card-view/components/planting-by/planting-by.component.ts` (around line 67)
https://github.com/SpiraledgeVN/app.tend.com-v2/blob/develop/libs/module/my-crop/src/lib/component/my-crop-card-view/components/planting-by/planting-by.component.ts#L67
- `daystotermination` in `libs/module/my-crop/src/lib/component/my-crop-card-view/components/planting-timeline/planting-timeline.component.ts` (around line 122)
https://github.com/SpiraledgeVN/app.tend.com-v2/blob/develop/libs/module/my-crop/src/lib/component/my-crop-card-view/components/planting-timeline/planting-timeline.component.ts#L122
- `daysbetweenfourthfifthharvestwindow` in `.../planting-timeline.component.ts` (around line 135)
https://github.com/SpiraledgeVN/app.tend.com-v2/blob/develop/libs/module/my-crop/src/lib/component/my-crop-card-view/components/planting-timeline/planting-timeline.component.ts#L135
- `daymaturityaverage` in `.../planting-timeline.component.ts` (around line 140)
https://github.com/SpiraledgeVN/app.tend.com-v2/blob/develop/libs/module/my-crop/src/lib/component/my-crop-card-view/components/planting-timeline/planting-timeline.component.ts#L140

Example Jira tickets that reference “formula popups / succession interval / planting date logic” (useful for narrowing which specific formulas to extract):
- TEND-31521 (Planting details formula popup updates)
- TEND-33934 (populate succession interval)
- TEND-29848 / TEND-33856 / TEND-31356 (planning vs in-season planting date logic)

If you tell me which “planting detail formular” you mean (e.g., `succession interval`, `planting date -> harvest window`, `seed needed`, `no. plants`, “planning vs in-season” date logic), I can run a more targeted search and extract the exact step-by-step formula from the relevant function(s).