Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial refactoring of workflow editor page #149

Merged
merged 3 commits into from
May 10, 2024

Conversation

ohltyler
Copy link
Member

@ohltyler ohltyler commented May 9, 2024

Description

There has been recent changes to the proposed UX. The previous proposal was filling out inputs individually within a selected ReactFlow component. The new proposal is a more guided/structured way of filling out inputs. Now, it is form based via a single, stepped form with all of the required inputs end-to-end in one view. As users fill it out, the workspace components automatically populate based on the inputs. The workspace itself remains readonly. And for further testing, there will be a new tools view for executing ingest and search, all within the single page (no tabs / other dedicated views).

This PR handles the initial refactoring and setup of the stubbed form input components to be implemented incrementally. More specifically:

  • new WorkflowInputs component & several child components for breaking up the required inputs for both ingest and search flows. The child components are stubbed for now.
  • changes ResizableWorkspace to include the new WorkflowInputs component and removes the ComponentInputs component previously used for dynamically showing the form for an individual component in the dnd workspace
  • removes the create/update/provision/deprovision/delete buttons as these will later be reintroduced within WorkflowInputs and a later Tools component
  • removes tabs in the details page

Demo video below shows the new WorkflowInputs component and it's stepped flow. All form inputs are stubbed for now.

screen-capture.30.webm

Check List

  • Commits are signed per the DCO using --signoff

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.

Signed-off-by: Tyler Ohlsen <[email protected]>
@ohltyler ohltyler merged commit c74260f into opensearch-project:main May 10, 2024
6 checks passed
@ohltyler ohltyler deleted the cleanup branch May 10, 2024 19:37
opensearch-trigger-bot bot pushed a commit that referenced this pull request May 10, 2024
* Refactor resizableworkspace; add workflowinputs component

Signed-off-by: Tyler Ohlsen <[email protected]>

* Add stub components for the basic ingest and search configs

Signed-off-by: Tyler Ohlsen <[email protected]>

* More cleanup

Signed-off-by: Tyler Ohlsen <[email protected]>

---------

Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit c74260f)
ohltyler added a commit that referenced this pull request May 10, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit c74260f)

Co-authored-by: Tyler Ohlsen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants