* Ensure that isFreezeFrame is reset by isFirstRender, because it can't be a freeze frame if it's the first render
* `restart`-type engine starts should count as first renders
* Ensure we don't see a loading spinner after network is reconnected in test
* Make `waitForPageLoad` robust against if the page has already loaded
and make it actually wait for the Start Sketch button to be enabled
---------
Co-authored-by: 49fl <ircsurfer33@gmail.com>
As @jtran pointed out - I had misunderstood the behavior of
Default::default(), we can instead rely on this syntax to do the same
thing. This won't use each field's default value -- rather, it'll use
the type's Default, and override each field. Neat!
Signed-off-by: Paul Tagliamonte <paul@zoo.dev>
* Convert user menu to a popover from a sidebar
* Move the user menu over to the left menu cluster
* Replace project sidebar with popover-style menu
* Styling tweaks, give export button a proper tooltip when disabled
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Filter orphan breaks, tweak space to remove mouse gaps
* Unify with and without avatar image code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Rerun CI
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Rerun CI
* Prepare to move UserSidebarMenu over to right
* Revert AppHeader tweaks
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Rerun CI
* Fix typo in README
* Fix export E2E tests that relied on button text
* Missed the data-testid we used to have on the data-testid we had on the settings button
* Dang I missed another testId
* Update snapshots
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Rerun CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* "err" instead of "instanceof Error"
* trigger CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Kurt Hutten Irev-Dev <k.hutten@protonmail.ch>
We use the WebSocket connection to send binary data (in the form of
shapefiles) from the engine to the client. These can very easily get
larger than the default 16MB limit on the max_frame_size. I don't
understand why it won't stich multiple frames together - but given what
I can see when this crashes, the max_message_size isn't the LIMFAC,
max_frame_size is.
That's an issue for future-us.
Signed-off-by: Paul Tagliamonte <paul@zoo.dev>
* Add a close button to sidebar panes
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Rerun CI
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Fix up dark mode look and feel
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Revert "Compute the AST digest in the LSP (#3037)"
This reverts commit 5e41e382ce.
* Compute the AST digest in the LSP (#3037)
This is a slow-roll to calling this in more places; but this is
non-critical, so if this breaks on some unexpected AST or what have you,
we're not breaking anything except the LSP (which we'll see pretty
quickly) while also testing it on all user input.
If something goes south, please feel free to revert this commit.
Signed-off-by: Paul Tagliamonte <paul@zoo.dev>
---------
Signed-off-by: Paul Tagliamonte <paul@zoo.dev>
This is a slow-roll to calling this in more places; but this is
non-critical, so if this breaks on some unexpected AST or what have you,
we're not breaking anything except the LSP (which we'll see pretty
quickly) while also testing it on all user input.
If something goes south, please feel free to revert this commit.
Signed-off-by: Paul Tagliamonte <paul@zoo.dev>
* Lower threshold for 2020 tests
Now that the tests zoom into the model and center it before taking a
snapshot, they should be less sensitive.
* Genuine, nontrivial changes to the integration test images
* draft: fillet ast mod + test
* Kurt's rejig
* playwright
* update button enable logic
* remove fillet button in production build
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* trigger CI
* fix typo
* give a way to turn on fillets
---------
Co-authored-by: max-mrgrsk <margorskyi@gmail.com>
Co-authored-by: max-mrgrsk <156543465+max-mrgrsk@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Make machine command type names more explicit
* Prepare "change tool" event for command bar
* Make it so that state machine events can each map to multiple command configs
* Make commands with all skippable args possible
* Add back the tools to the command bar
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Update to use new `groupId` property name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* Oops didn't save this other instance of `ownerMachine`
* Add a playwright test
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Add format code to the command palette
* Fix to use renamed groupId parameter
* Add icon to format code command
* Fix to remove commands during teardown
* Fix dependencies
* Change formatting
* roll you own playwright retries
* tweak
* tweak
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)
* add retries for ubuntu too
* Revert "A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu)"
This reverts commit 327cc196cd.
* Revert "add retries for ubuntu too"
This reverts commit db877748e2.
* add retries for ubuntu too
* whoopsie
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* WIP: Automate tauri updater tests
Fixes#2926
* Same product name
* Tweak uploads
* Add cat
* Fix macos universal builds for updater
* New artifact name
* Revert "New artifact name"
This reverts commit 61defcab18.
* Final check
* Clean up