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

Minor form updates #212

Merged
merged 1 commit into from
Jul 11, 2024
Merged

Conversation

ohltyler
Copy link
Member

Description

This PR handles some form edge cases and a few other minor changes:

  • prevents going to ingest form if unsaved changes on search form
  • adds warning on ingest form if there are provisioned search resources, and user is updating the ingest form
  • updates query block in workspace to be generic instead of hardcoded to neural query
  • rename workspace reducer -> form reducer
  • removes ingest doc changes from changing the form state; this is to prevent duplicate ingest and accidental override of existing ingested doc(s)

Screenshot of new callout:

Screenshot 2024-07-11 at 9 52 45 AM

Screenshot of back button available when no unsaved search form changes:

Screenshot 2024-07-11 at 9 54 45 AM

Screenshot of back button unavailable when unsaved search form changes:

Screenshot 2024-07-11 at 9 54 59 AM

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.

Signed-off-by: Tyler Ohlsen <[email protected]>
@ohltyler ohltyler merged commit 5cb03ed into opensearch-project:main Jul 11, 2024
10 checks passed
@ohltyler ohltyler deleted the form-updates-1 branch July 11, 2024 17:45
opensearch-trigger-bot bot pushed a commit that referenced this pull request Jul 11, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 5cb03ed)
ohltyler added a commit that referenced this pull request Jul 11, 2024
Signed-off-by: Tyler Ohlsen <[email protected]>
(cherry picked from commit 5cb03ed)

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