removes disabling of Apply button for case when analytic unit is in LEARNING state
adds confirmation dialog for analytic unit's re-learning
Note: analyticUnit.saving is the flag that represents that panel waits while a server saves an analytic unit. it becomes true when a saving request will be sent and become false when a response will be received.
Changes
new partials/relearning_confirmation.html with confirmation modal dialog
graph_panel/graph_ctrl.ts creates modal dialog that contains callback for the "Confirm" button. callback runs re-learning and re-detection
do not disable "Apply" button for analytic units in LEARNING state
fixes #401
This PR:
Apply
button for case when analytic unit is in LEARNING stateNote:
analyticUnit.saving
is the flag that represents that panel waits while a server saves an analytic unit. it becomestrue
when a saving request will be sent and becomefalse
when a response will be received.Changes
partials/relearning_confirmation.html
with confirmation modal dialoggraph_panel/graph_ctrl.ts
creates modal dialog that contains callback for the "Confirm" button. callback runs re-learning and re-detection