open-metadata / OpenMetadata

OpenMetadata is a unified metadata platform for data discovery, data observability, and data governance powered by a central metadata repository, in-depth column level lineage, and seamless team collaboration.
https://open-metadata.org
Apache License 2.0
5.26k stars 994 forks source link

Search Clears Left Panel Tree Filters #18008

Open NithinKumaraNT opened 1 day ago

NithinKumaraNT commented 1 day ago

Affected module UI

Describe the bug When using the data asset tree structure on the left panel to filter by a specific data source (e.g., BigQuery), later using the search bar at the top clears the applied filter and performs a global free text search instead of searching within the selected data source.

To Reproduce

  1. Open OpenMetadata version 1.5.4
  2. Navigate to the data asset tree structure on the left panel
  3. Select a specific data source (e.g., BigQuery)
  4. Use the search bar at the top to search for an asset
  5. Observe that the search clears the BigQuery filter and performs a global search

Expected behaviour When a data source is selected in the left panel, using the search bar should maintain the applied filter and search only within the selected data source. The user should have the option to perform a global search without clearing the applied filters.

Version:

Additional context This behaviour may cause confusion for users who expect the search to be limited to their selected data source. Consider implementing a way to make it clear when the search is limited to the components selected on the left side, or provide an option to toggle between filtered and global search.