IDEMSInternational / open-app-builder

PLH App Frontend
GNU General Public License v3.0
5 stars 24 forks source link

[FEATURE] Local variables debugging #2137

Open esmeetewinkel opened 10 months ago

esmeetewinkel commented 10 months ago

What?

Why? When authoring templates with more complex logic, it is not unusual to have local variables authored over multiple rows (to get the right concatenation) potentially using some @calc statements (e.g. parent_profile in plh_facilitator_my). It is quite annoying to debug this, since, if a collection of such rows "breaks" the app, it can take a number of syncs (yarn workflow sync_sheets followed by yarn start, which takes like ~2min) to narrow down to the problematic row - which is tedious and time consuming. What I currently do is:

How? I'm happy to go with anything that's feasible technically, here are some ideas: