mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-04 04:46:59 +00:00
* feat(studio): a host that draws its own loader can turn off both of Studio's preview loaders Player and NLEPreview take loadingUi: 'none', which hides the composition cover and the 'Preparing preview assets' wait while still reporting that the preview is loading. suppressLoadingOverlay keeps its narrower meaning: skip only the composition cover on a later load. * refactor(studio): name who draws the loader in the value, loadingUi 'studio' | 'host' The value says the host draws its own loader, so no doc line has to tell it apart from suppressLoadingOverlay, and the files' comment share does not rise. * refactor(studio): the loader choice sits outside Player, the stage size beside NLEPreview Player's draw decision moves to a small helper so the component's complexity does not rise, and resolvePreviewStageSize moves to its own file so NLEPreview stays under the 600-line cap with the new prop. * refactor(studio): Player reads the host's loader choice without another destructured prop Destructuring one more prop raised Player's cognitive complexity above main's; the rest of the props carries loadingUi instead. * refactor(studio): NLEPreview's stage constants live in one small module * style(studio): format NLEPreview's stage import