It would be really nice if we could have the ability to use the Moment.js and Lodash libraries in our scripts.
Ideally we could centrally define JS to import into scripts, and define our own JS + CSS for the UI.
I am injecting JS + CSS into the front end now, but I am forced to use a browser extension as there is no official support.
Related:
When you have 30+ bits of javascript scattered among dozens of Rules and Buttons in a dozen Spaces, managing this codebase becomes a nightmare .
If a Space or DB gets renamed, or if a DB gets moved from one Space to another, scripts break.
We really need a more robust way to manage a Workspace’s codebase of scripts - a single place where we can:
See everywhere scripts are defined: Space > DB > Button/Rule > Action
Perform global search-and-replace on all our scripts (or scripts defi…
rawkode
December 10, 2022, 6:56pm
3
Might be better to switch to Deno as an interpreter for these functions. This would provide a safe sandbox and means we could important libraries we need at runtime.