ISSUES
In the Packi Editor the '$' ITTF Command must be followed by a space otherwise sinthax highlighting does not work correctly.
Core
setCtxScript, setCtxDep and setCtxDevDep can be disrupteg by defininig a `version` variable on the ittfDocumed. Prefix setCtxxxx variable with strange symbols es. `__sys__`
In wizzi.WizziFactory.generateFolderArtifacts error callbacks should report the file path on which error occurred.
(Ok for message, but there are unnecessary actions?) get free of crypto/endec.ENCRYPTION_KEY message/action
Is the package wizzi-helpers still used ???
wizzi-legacy-v5 can be integrated in wizzi-core? Should be documented.
A wizzi macro expression should work even if there are spaces between graphs and expression ${ '()' }
Delete UTC time from generation headings, they produce false changes to commit.
wizzi-mtree
Recursive function loop after 30/3/24 refactoring.
ALL PLUGINS
check all plugins in files lib/wizzi/schemas/t/*.ittf. The $hook command could be missing.
after calling ctx.error show line source of error. wizzi.artifact.genctx NodeError must become a WizziError
wizzi.plugin.wzschema
Check duplicated definitions. Raise an exception.
wizzi.plugin.js
in lib\artifacts\js\module\gen\codegen\statements\objects.js.ittf when a statement node inside an object '{' is an empty line "+ " it causes a comma ", " to be written, the same as it were a property.
A comment node is counted as a statement when emitting arrow expressions, causing errors in empty expressions.
wizzi.plugin.json
json-model: errors lines in fragments are reported of mixer instead of mixed
wizzi.plugin.ts
wizzifier: 'export type' is not recognized, emits simply 'export' instead of 'export-type'
Mongo productions repository
The global context artifact 'wzctx' should be optional
Before returning a production from MongoDB always check its integrity
Packi editor
The editor must show production name and kind (artifact|package|meta|tFolder).
Make a decent splitter work between edit content and result pane.
Result pane icons should be inside the pane. And should be decent.
The 'saved' message should be: 'Not modified', or 'Not yet saved' or 'Saved x seconds|minutes|hours ago'.
pageforms: debounce checkname 1 second
pageforms: reset checkname error color when valid
checkname maybe unnecessary in apiv1* controllers
wizzi.hub
Replace all `JSON.stringify(err, ...)` with a safe stringify of errors.
C:\My\wizzi\stfnbssl\wizzi\packages\wizzi-core\lib\artifacts\wfschema\model\gen wfschema.model.main err [wzError [JsWizziError]: JsWizziRunner Error message: Missing runner for type: ThisExpression node statement: escodegen failed: Unknown node type: undefined node inspected: 'runner' parent node statement: parent node inspected: 'runner' currentModel_uri: c:\my\wizzi\stfnbssl\wizzi\packages\wizzi-core\lib\artifacts\wfschema\model\gen\ittf\t\model\element.js.ittf currentModel_mixerUri: c:\my\wizzi\stfnbssl\wizzi\packages\wizzi-core\lib\artifacts\wfschema\model\gen\ittf\wfschema-model.js.ittf (error calling ip, on statement: $.ip('f4', 'this.wzLoadToChildColl(child, _md.${element.acceptAnyTagId}, this.${this.element.acceptAnyTagCollectionId})', 'string', 1128, false), currentModel_uri: c:\my\wizzi\stfnbssl\wizzi\packages\wizzi-core\lib\artifacts\wfschema\model\gen\ittf\t\model\element.js.ittf, currentModel_mixerUri: c:\my\wizzi\stfnbssl\wizzi\packages\wizzi-core\lib\artifacts\wfschema\model\gen\ittf\wfschema-model.js.ittf)] { inner: null, shortmessage: 'JsWizziRunner Error\n' + 'message: Missing runner for type: ThisExpression\n' + 'node statement: escodegen failed: Unknown node type: undefined\n' + "node inspected: 'runner'\n" + 'parent node statement: \n' + "parent node inspected: 'runner'\n" + 'currentModel_uri: c:\\my\\wizzi\\stfnbssl\\wizzi\\packages\\wizzi-core\\lib\\artifacts\\wfschema\\model\\gen\\ittf\\t\\model\\element.js.ittf\n' + 'currentModel_mixerUri: c:\\my\\wizzi\\stfnbssl\\wizzi\\packages\\wizzi-core\\lib\\artifacts\\wfschema\\model\\gen\\ittf\\wfschema-model.js.ittf', info: { method: 'wizzi-mtree.jsWizzi.jsWizziRunner.undefined', parameter: null, sourcePath: 'C:\\My\\wizzi\\stfnbssl\\wizzi\\node_modules\\wizzi-legacy-v5\\lib\\jswizzi\\jsWizziRunner.js' }, ittfDocumentUri: 'C:\\My\\wizzi\\stfnbssl\\wizzi\\packages\\wizzi-core\\lib\\artifacts\\wfschema\\model\\gen\\ittf\\wfschema-model.js.ittf' }