For example when exporting, it should check if there has been changes from when the transcript was first opened (eg saving a boolean in state) and if there have not, maybe skip the alignment before exporting, as it wouldn’t be necessary in that edge case. (If that makes sense?)
Eg you open the transcript, and then go straight to export without editing the text, there’s no need to re-align etc..
As well as after someone saves (as saving runs the alignment) .
alignment is expensive. and even with tweaks on the alignment algos such as https://github.com/pietrop/align-diarized-text/pull/5 from https://github.com/pietrop/slate-transcript-editor/pull/16 we still don't want to run the alignment when is not needed.
Expected behavior
For example when exporting, it should check if there has been changes from when the transcript was first opened (eg saving a boolean in state) and if there have not, maybe skip the alignment before exporting, as it wouldn’t be necessary in that edge case. (If that makes sense?)
Eg you open the transcript, and then go straight to export without editing the text, there’s no need to re-align etc..
As well as after someone saves (as saving runs the alignment) .
Screenshots
NA
Additional context
NA