Skip to content

Conversation

seialkali
Copy link
Contributor

@seialkali seialkali commented Sep 29, 2025

Summary

This PR removes unused code within the kbn-search-api-panels package.

Checklist

Check the PR satisfies following conditions.

Reviewers should verify this PR satisfies this list as well.

  • Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n support`
  • Documentation was added for features that require explanation or tutorials
  • Unit or functional tests were updated or added to match the most common scenarios
  • If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list
  • This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. The release_note:breaking label should be applied in these situations.
  • Flaky Test Runner was used on any tests changed
  • The PR description includes the appropriate Release Notes section, and the correct release_note:* label is applied per the guidelines
  • Review the backport guidelines and apply applicable backport:* labels.

@seialkali seialkali changed the title Remove unused kbn-search-api-panels code [Search] Remove unused kbn-search-api-panels code Sep 29, 2025
@seialkali seialkali force-pushed the remove-unused-kbn-search-api-panels branch from 943b88a to f252ae0 Compare October 2, 2025 08:08
@seialkali seialkali marked this pull request as ready for review October 2, 2025 08:11
@seialkali seialkali requested a review from a team as a code owner October 2, 2025 08:11
@seialkali seialkali added release_note:skip Skip the PR/issue when compiling release notes backport:skip This PR does not require backporting Team:Search v9.2.0 labels Oct 2, 2025
Copy link
Contributor

@Samiul-TheSoccerFan Samiul-TheSoccerFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall looks good, left some comments.

}
);
export const API_KEY_PLACEHOLDER = 'your_api_key';
export const ELASTICSEARCH_URL_PLACEHOLDER = 'https://your_deployment_url';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ELASTICSEARCH_URL_PLACEHOLDER only refers from cloud_details which is also getting removed. May be we can remove this whole?

import type { AuthenticatedUser } from '@kbn/security-plugin/common';

export * from './components/cloud_details';
export * from './components/code_box';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Curious why are we keeping code_box, ingest_pipeline_panel, and github_link? It looks like all references to them are being removed from the plugin. Unless they are used outside the plugin or somewhere else, maybe we can remove those too?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are still used in index management if I recall correctly.

"node",
"react"
]
"types": ["jest", "node", "react"]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You probably need to disable linting for .json files to avoid reformatting existing files in the Kibana.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This PR does not require backporting release_note:skip Skip the PR/issue when compiling release notes Team:Search v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants