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

Update Frontend for Custom Result Index Query and Fix Issues #772

Merged
merged 3 commits into from
Jun 10, 2024

Commits on Jun 8, 2024

  1. Update Frontend for Custom Result Index Query and Fix Issues

    This PR finalizes the frontend changes related to PR #1225. The custom result index query now uses an index pattern instead of a single index.
    
    Additionally, this PR addresses an issue where missing custom result indices would appear because the original code checked for the existence of an index name, but now we use it as a prefix. We have updated the logic to perform a prefix search instead of checking for index name equality.
    
    This PR also resolves issue opensearch-project#765 by downgrading the version of jest-canvas-mock.
    
    Testing Done:
    * Added unit tests.
    * Verified that the custom result index missing callout is not shown.
    * Confirmed that the frontend can still display old and new results after a rollover.
    
    Signed-off-by: Kaituo Li <kaituo@amazon.com>
    kaituo committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    f924b45 View commit details
    Browse the repository at this point in the history
  2. change to check alias

    Signed-off-by: Kaituo Li <kaituo@amazon.com>
    kaituo committed Jun 8, 2024
    Configuration menu
    Copy the full SHA
    4cf545f View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2024

  1. fix warning msg

    Signed-off-by: Kaituo Li <kaituo@amazon.com>
    kaituo committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    89e33bb View commit details
    Browse the repository at this point in the history