SimonBiggs / scriptedforms

Quickly create live-update GUIs for Python packages using Markdown and simple HTML elements.
Apache License 2.0
508 stars 34 forks source link

Significantly speed up handling of html template change #256

Closed SimonBiggs closed 6 years ago

SimonBiggs commented 6 years ago

If I want to have a chance of using Jinja and having it be usable then the way the form handles the html on the page changing needs to be significantly improved.

Variables need to not reset, variable handler needs to update instead of reset. Output areas need to remember their result. The only extra code that should run should be a variable check after the handler update.

SimonBiggs commented 6 years ago

Use of Jinja will never be neat. Will induce defocusing of variables etc.