6442 "Zoom to fit" when kcl file is shared on web (#6619)

* submit zoom_to_fit when kcl file is created on web

* add test for zoom to fit on shared model on web - only works with a hack so far

* resolve circular deps

* fix Zoom to fit to shared model on web, test still not passing without timeout

* Clean up zoom_to_fit for web sharing, stabilize test

* fmt

* small import refactor

* fmt

* Make Zoom to fit test web-only
This commit is contained in:
Andrew Varga
2025-05-06 19:13:11 +02:00
committed by GitHub
parent 941eacd559
commit e356cd34e3
3 changed files with 55 additions and 0 deletions

View File

@ -116,6 +116,7 @@ export const OpenInDesktopAppHandler = (props: React.PropsWithChildren) => {
className={buttonClasses + ' -order-1 !text-base'}
onClick={continueToWebApp}
iconStart={{ icon: 'arrowLeft' }}
data-testid="continue-to-web-app-button"
>
Continue to web app
</ActionButton>