node-red-node-watson icon indicating copy to clipboard operation
node-red-node-watson copied to clipboard

Customised models list needs a page refresh

Open chughts opened this issue 9 years ago • 2 comments

The list of available customized models is not dynamically updated when a new customization is created.A page refresh is required for the list to be updated.

chughts avatar May 22 '16 20:05 chughts

I tried to add a button that would trigger a call to the API and refresh the list but the UI customisations limits are not allowing us to do so. Would it work if we add the button after the page is loaded with jQuery? @germanattanasio would that comply to the Node-RED guidelines?

arlemi avatar May 23 '16 08:05 arlemi

We can add a button, and a on-click event for it to refresh the model list. If done it must not break what is already working, with the model list being used to dynamically load the available domains and languages, based on selections, without hard doing anything into the node code.

The imitation of not seeing a model that I have just created, without a page refresh is an irritation rather than a problem.

chughts avatar May 23 '16 16:05 chughts