Open dgutride opened 5 years ago
@benhall, @gsoria - fyi
We've added in Katacoda side a progress bar to show that the files are saving and the iframe is reloading.
The changes in Katacoda are available in beta for now. An example can be seen in this profile: https://beta.katacoda.com/vj0n4ijxw/
Hi @gsoria - the progress bar looks great! We had a question about how the progress bar works - in our react tutorials especially, we notice the progress bar shows immediately after the file saves and then the pane reloads. Within 1-2 seconds after that, the files finish recompiling and it reloads again. Is it possible to tie the progress bar into the rebuild of the application?
thanks @dgutride :) Yes, the progress bar is shown right now is shown until the file complete saving. Let me change this to associate with the rebuild of the application.
@gsoria is there a place where I can see this update with the file saving and rebuilding at the same time?
@gsoria were you able to tie the saving of the file in with the rebuild so there isn't a 2 second delay? We are finding that a lot of users are confused about this recompile.
@christiemolloy sorry for the delay with this issue. We've decided to go for a more general an extensible solution for this requirement. This is the PR https://github.com/patternfly/training-scenarios/pull/151 with the call to the event service that we implemented for HTML scenarios. Please let us know what do you think.
@christiemolloy I updated the PR https://github.com/patternfly/training-scenarios/pull/151 related to this issue. Could you please review it? Thanks!
During user testing at devconf, one thing that repeatedly confused users was that they weren't aware the preview was reloading when they were making changes. A spinner or some animation to let them know the iframe is reloading would alleviate this.