Skip to content

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport ee744b6 from #1068

…lete bug (#1068)

- Enforce a minimum shingle size (`min={4}`) in `SuggestParametersDialog` to prevent invalid configurations.
- Fetch the complete forecaster list by explicitly passing `size: MAX_FORECASTER` in `forecast.searchForecaster`; replace wildcard imports with `MAX_FORECASTER`.
- Remove unnecessary `console.log` statements and commented-out code from `ForecasterActionsCell` and `ForecastersList` for cleaner output.
- Fix the delete-action bug where deleting the selected forecaster incorrectly deleted the last forecaster in the list. Now correctly uses the selected forecaster's object for retrieving the name and ID.

Testing:
- Manual verification completed.

Signed-off-by: Kaituo Li <[email protected]>
(cherry picked from commit ee744b6)
Copy link

codecov bot commented Jul 31, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (3.1@14bf1b7). Learn more about missing BASE report.

Additional details and impacted files
@@          Coverage Diff           @@
##             3.1    #1070   +/-   ##
======================================
  Coverage       ?   48.67%           
======================================
  Files          ?      232           
  Lines          ?    10613           
  Branches       ?     2287           
======================================
  Hits           ?     5166           
  Misses         ?     4911           
  Partials       ?      536           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kaituo kaituo closed this Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant