Flow Trigger Form Cleanup Ideas
TL;DR
- Lines 187-219 of the flow trigger form contain a block of text that should be extracted.
- Noticed repeated comparisons of flow trigger type’s numeric vs. string value against a passed-in value used to filter an array.
- Wondering if there’s a way to consolidate that comparison logic.
Flow trigger form observations
It would be good to extract the text in lines 187 through 219 of the flow trigger form. I’ve also noticed that we frequently compare the flow trigger type’s numeric/integer value against its string value, checking both against a passed-in value to filter an array. Since this comes up often, I wonder if there’s a way to consolidate or offload that logic.
ryer.io