langflow/src/frontend/tests/assets
Lucas Oliveira 79e35834b5
feat: add breaking change update modal, refactor dismissed updates (#7882)
* fix: add optional method property to OutputFieldType

* feat: Enhance GenericNode with breaking change detection

- Added state management for breaking changes in GenericNode.
- Updated useCheckCodeValidity hook to evaluate breaking changes based on outputs and template keys.
- Improved node status color logic to reflect breaking changes and outdated code.
- Enhanced UI feedback for users with appropriate alerts and dismiss options.

* refactor: Improve breaking change handling in useCheckCodeValidity hook

- Simplified logic for detecting breaking changes and outdated code.
- Updated state management to ensure accurate status updates based on user inputs and templates.
- Enhanced readability by consolidating related checks into a single conditional structure.

* Fix outdated check

* Componentized breaking change

* Updated design of update handle on node

* Added small-update to modal sizes

* updated duplicate flow hook to duplicate just a flow

* Added update component modal with updating for single component

* Added new duplicateFlow on dropdown on main page

* use new update code modal on generic node

* delete check code validity

* add new check code vaildity util function

* removed unused sets from update node code

* Make componentsToUpdate contain breaking info

* Make Generic Node use Components to Update

* Change border in Node Status

* Stop propagation on node update

* Update update all components to have changes from figma

* updated flow store type and added components to update

* Update update component modal

* added icon on outdatedNodes

* Added id filtering on update components

* Added table with components to update

* Update styling

* Update update component modal to use table component

* Updated styles

* filter map

* Update select to not allow selecting texts on backup flow

* Update cursor for label

* Update text of backup flow

* Try to update selection

* Fix selection of components on opening modal

* Insert Update button on node toolbar if dismissed

* Added new parameters of node toolbar

* Added new types of node toolbar

* Removed update button from node status

* Updated shadcn theme

* Added dismiss by node, added dismissing to local storage, added correct update display

* Clarified update warnings in the UpdateComponentModal to better inform users about potential breaking changes and the need to reconnect components.

* Refactored update component visibility logic in GenericNode to use a memoized value for improved performance and readability.

* Updated test for outdated components to reflect changes in button selectors and improved visibility assertions for update notifications.

* Simplified visibility assertion in outdated components test to check for a more concise update message.

* Fixed edges not coming back after undoing

* Fixed breaking change check to not be checked if code is the same

* Fixed imports

* removed unused functions

* updated icon color

* updated test id

* updated for function to foreach

* updated data testid

* updated outdated flow

* removed flowToCanvas that caused bug when going from main page to flow page

* [autofix.ci] apply automated fixes

* Fixed outdated actions test

* fixed timeouts

* Added check for Backup

---------

Co-authored-by: Gabriel Luiz Freitas Almeida <gabriel@langflow.org>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-05-09 12:30:32 +00:00
..
chain.png tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
ChatTest.json tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
collection.json tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
flow.json tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
flow_group_test.json tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
flow_test_drag_and_drop.json fix: update drag and drop test (#5048) 2024-12-04 20:33:22 +00:00
flowtest.json fix: update documentation links for Custom Component to use the correct URL (#6145) 2025-02-06 22:39:05 +00:00
group_test_iadevs.json tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00
outdated_flow.json feat: add breaking change update modal, refactor dismissed updates (#7882) 2025-05-09 12:30:32 +00:00
resume.txt feat: Enhance StructuredOutputComponent and add trustcall dependency (#7249) 2025-04-02 18:50:28 +00:00
test-file.json feat: adds file management feature under feature flag, adds file dialog, adds files page (#6134) 2025-03-18 02:32:55 +00:00
test-file.py feat: adds file management feature under feature flag, adds file dialog, adds files page (#6134) 2025-03-18 02:32:55 +00:00
test-file.txt feat: adds file management feature under feature flag, adds file dialog, adds files page (#6134) 2025-03-18 02:32:55 +00:00
test_audio_file.wav feat: Add JSON field extraction and enhanced URL validation (#6051) 2025-03-10 12:28:51 +00:00
test_file.txt tests: new tests folders organization (#3716) 2024-09-09 14:45:30 -03:00