fix: updated node toolbar to be more stable on zoom, fix success and error component tooltips, unselect nodes on flow opening (#4610)

* Unselect nodes and edges on enter

* Start with viewport fit

* Fix run component tooltip to match error and success

* Update scrollbar design

* Added node toolbar without portal to match the width of the node

* Updated color of scrollbar

* Updated NoteNode to have same behavior as GenericNode

* Updated logic for tests to pass

* Fix fitview to only occur when nodes are present

* Update z index of resize handle

* Sticky notes test fix

* [autofix.ci] apply automated fixes

* freeze test fixed

---------

Co-authored-by: Mike Fortman <michael.fortman@datastax.com>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: anovazzi1 <otavio2204@gmail.com>
Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: Cristhian Zanforlin Lousa <cristhian.lousa@gmail.com>
This commit is contained in:
Lucas Oliveira 2024-11-19 18:54:49 -03:00 • committed by GitHub
commit c9e0d5e4ba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 281 additions and 269 deletions

View file

@ -305,7 +305,7 @@ test("user must be able to freeze a component", async ({ page }) => {
await page.waitForTimeout(1000);
await page.getByTestId("icon-Snowflake").last().click();
await page.getByText("Freeze", { exact: true }).click();
await page.waitForTimeout(1000);

View file

@ -162,7 +162,7 @@ The future of AI is both exciting and uncertain. As the technology continues to
await page.getByTestId("note_node").nth(0).focus();
await page.getByTestId("more-options-modal").click();
await page.getByText("Delete").last().click();
await page.getByText("Delete").first().click();
await page.waitForTimeout(1000);