This updates the chunked/streamed response in the Typerighter API to return an indication of what percentage of jobs have been completed in a check request. This percentage is currently calculated on the client-side and by calculating this value on the server we will be able to simplify our client-side code.
How to test
Deploy and run this branch locally and run the accompanying branch in prosemirror-typerighter. You should be able to see the loading bar in the right hand side results panel continue to work as expected.
What does this change?
This updates the chunked/streamed response in the Typerighter API to return an indication of what percentage of jobs have been completed in a check request. This percentage is currently calculated on the client-side and by calculating this value on the server we will be able to simplify our client-side code.
How to test
Deploy and run this branch locally and run the accompanying branch in prosemirror-typerighter. You should be able to see the loading bar in the right hand side results panel continue to work as expected.