IRC logs for #farmOS, 2026-08-08 (GMT)

2026-08-07
2026-08-09
TimeNickMessage
[22:12:16]<barkerd427[m]>Greg: Been reading `common_form_helpers` and I want to use it. I've got three quick forms on my instance — medical, milk, weight — and the same `entity_autocomplete` -> `target_id` normalization is copy-pasted in all three... (full message at
[22:12:16]<barkerd427[m]><https://matrix.org/oftc/media/v1/media/download/AdcSgr4NH_BSBKi8PNYEuWCg...)
[22:22:34]<barkerd427[m]>* Greg: Been reading `common_form_helpers` and I want to use it. I've got three quick forms on my instance — medical, milk, weight — and the same `entity_autocomplete` -> `target_id` normalization is copy-pasted in all three, and you've already got `AutocompleteValueTrait` for it. Also looks like `PickerWithAddNewTrait` and `FixedUnitInputTrait` replace things I hand-rolled.
[22:22:34]<barkerd427[m]>Your README says it gets extracted to contrib once a second consumer shows up. Happy to be that one, and I'm a useful test case since I'm livestock, single farm, no org scoping, so it'd exercise whether the helpers actually travel outside soil-health.
[22:22:34]<barkerd427[m]>Plan: migrate my three forms onto it and write up which traits worked unchanged vs which needed something. Want that report? And I'd do the extraction MR if it's useful.