slub / ocrd_monitor

Web frontend for ocrd_manager
MIT License
2 stars 3 forks source link

Optimize loading behaviour of OCRD browser when browsing to workspace #8

Closed markusweigelt closed 1 year ago

markusweigelt commented 1 year ago

When browsing to a workspace, OCRD browser is started in the background. All the time the workspace page is loaded. After started then the HTML browser forwards to page with the workspace in OCRD browser.

The following implementation would be more elegant:

The redirection in the HTTP browser should be directly and a loading bar/spinner should be displayed. A heartbeat should then check if the OCRD browser has already been loaded in the background. After that the loading bar/spinner is replaced with the iframe.

markusweigelt commented 1 year ago

Works so far!