Chalk'it page class should be extended to handle an extra parameter : TAIPY_GUI_DESIGN_MODE
When TAIPY_GUI_DESIGN_MODE=True, Chalk'it editor is launched (current working state)
When TAIPY_GUI_DESIGN_MODE=False (default), Dashboard rendering is launched, based on index-view.html (take care or dev and prod)
please refactor working with back_end/render.py (which is responible for Docker image rendering using gunicorn)
User story:
from taipy.gui import Gui
from chlkt import *
gui = Gui()
a = 1
b = 5
c = a + b
def on_change(state, var, val):
if (var == "a" or var == "b"):
state.c = state.a + state.b
TAIPY_GUI_DESIGN_MODE=True
page = ChalkitPage("01_sliders_value.xprjson")
gui.add_page("page", page)
gui.run(run_browser=True, use_reloader=False)
Chalk'it page class should be extended to handle an extra parameter :
TAIPY_GUI_DESIGN_MODE
please refactor working with
back_end/render.py
(which is responible for Docker image rendering using gunicorn)User story: