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

Add invalid workflow state; support JSON doc uploads #200

Merged
merged 3 commits into from
Jun 28, 2024

Conversation

ohltyler
Copy link
Member

Description

This PR achieves 2 small things:

  1. Adds an invalid workflow state (layout/wording TBD). When a workflow doesn't have proper ui_metadata configured, shows some descriptive text and the current template of the workflow to provide some utility & visibility.
  2. Adds a FilePicker to select any local JSON file (limited to .json files only for now), and when loaded, populates the input form with its contents. Further guardrails, different filetypes, etc. have not been finalized.

Demo showing the invalid state and the filepicker, and loading in a file test.json that contains the simple json { "hello": "world" }

screen-capture.47.webm

Issues Resolved

Makes progress on #23

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.

ohltyler added 3 commits June 27, 2024 09:58
Signed-off-by: Tyler Ohlsen <[email protected]>
Signed-off-by: Tyler Ohlsen <[email protected]>
@ohltyler ohltyler merged commit 2ef7e05 into opensearch-project:main Jun 28, 2024
10 checks passed
@ohltyler ohltyler deleted the invalid-wf branch June 28, 2024 16:45
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jun 28, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 2ef7e05)
ohltyler added a commit that referenced this pull request Jun 28, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 2ef7e05)

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