Bruce Conrad
Bruce Conrad
This has been prototyped as described in "[Triggering Events from Email Messages](https://picolabs.atlassian.net/wiki/spaces/docs/pages/57933866/Triggering+Events+from+Email+Messages)" but I would like to see something less involved.
See also this PicoStack [blog post](https://picostack.blogspot.com/2022/09/sending-email-via-web-api.html) for out-going email messages.
Currently, we write JS modules (aka libraries) in TypeScript, in the folder `pico-engine/packages/pico-engine-core/src/modules` and they get transpiled to JS and put into the `pico-engine/packages/pico-engine-core/dist/modules` folder. However, that is not the...
I'm imagining a directive in the `meta` block of a ruleset like: ``` use module "URL.js" alias myJSfncs ``` which would allow function calls like ``` sum = myJSfncs:add(1,2,3) ```...
This appears to be the place where the conversion to number occurs: https://github.com/Picolab/pico-engine/blob/master/packages/pico-engine-ui/src/components/PicoTabs/Testing.tsx#L21-L25
Yes, that does it. ``` $ node Welcome to Node.js v16.15.0. Type ".help" for more information. > n="830010923977419046" '830010923977419046' > JSON.parse(n) 830010923977419000 > [Ctrl-D] $ ```
A workaround would be to enter the number into the Testing tab as `"830010923977419046"` which `JSON.parse` will convert into a string.
I'm lobbying for changing this behavior, removing the `JSON.parse`. A KRL developer can easily apply the `.decode()` operator to event attributes and function arguments, if they want incoming strings to...
When an event is raised to another pico hosted by the same pico engine, attributes are passed internally as Maps, Arrays, etc. But if the pico is on a different...
I think this is another way of stating (part of) issue #574