opensearch-project / dashboards-flow-framework

A UI designer for constructing AI applications with OpenSearch
Apache License 2.0
6 stars 5 forks source link

Support multiple & nested flows #119

Closed ohltyler closed 4 months ago

ohltyler commented 4 months ago

Description

This PR adds initial support for persisting multiple flows in a single drag-and-drop ReactFlow workspace - specifically, Ingest and Search parent/group components.

To validate this approach will work with the future drag-and-drop support, a lot of POC work was done. Details on all of those code changes are in the dev branches and list of commits, which is tracked in #118. It is also included in the respective meta issue. For now, we don't include it to keep the commit history and PR simpler and more trackable.

Details of changes:

Demo video:

static-with-validation.webm

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 21.92%. Comparing base (5231f09) to head (840454c).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #119 +/- ## ========================================== + Coverage 21.67% 21.92% +0.25% ========================================== Files 54 56 +2 Lines 826 812 -14 Branches 81 82 +1 ========================================== - Hits 179 178 -1 + Misses 643 630 -13 Partials 4 4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.