ModelInference / perfume-frontend

Web-based frontend for Perfume tool
Other
1 stars 0 forks source link

Add animation while awaiting backend response #79

Closed bestchai closed 4 years ago

bestchai commented 4 years ago

When inferring a model, the frontend currently gives no indication that anything is happening. We should add an animation that overlays the model pane, perhaps the entire page.

If it overlays the entire page, we'll need to add some kind of link or button to cancel the operation so that the page doesn't fully freeze if the backend is unresponsive.

[Issue created by ohmann: 2015-12-15] [Last updated on bitbucket: 2016-02-10]

[Comment created by ohmann: 2016-02-10] Merged in: ed3af4ff250e

[Comment created by stanleyrya: 2016-02-10] @ohmann The most recent commit can be found here: f5cee7bd97e5

Notes:

[Comment created by ohmann: 2016-01-23] Additionally, the input pane should be partially or entirely frozen while awaiting the backend's response. This will prevent the possibility of multiple outstanding backend requests that can come back in any order and potentially leave various panes in inconsistent states, which is currently possible.