Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add search bar to Asset Inventory page (elastic#206811)
## Summary Closes elastic#201709. Add toolbar and search bar to Asset Inventory "All Assets" page. ### Screenshots #### Before <img width="1484" alt="Screenshot 2025-01-16 at 17 21 13" src="https://github.com/user-attachments/assets/01b81d32-d427-4aef-8bd2-1abebd875dc6" /> #### After <img width="1756" alt="Screenshot 2025-01-16 at 17 21 04" src="https://github.com/user-attachments/assets/71000329-12fe-4c9b-a517-ebce034244ef" /> ### Definition of done - [x] Add a header and toolbar to the "Asset Inventory" page. - [x] Implement a search bar within the toolbar using the `@kbn/unified-search-plugin`. - [x] Ensure the search bar is styled according to the [visual specs](https://www.figma.com/design/9zUqAhhglT1EGYG4LOl1X6/Asset-Management?node-id=2946-19646&t=FuD3BEY4FyxAKV38-4). - [ ] ~~Integrate the search bar so it can interact with the `logs-*` Dataview (default).~~ No integration for now. Will come in future PRs > [!CAUTION] > `search_bar.tsx` was duplicated from the CSP plugin. We should create a separate @kbn-package to encapsulate and reuse this type of functionality across plugins, then reuse it both from CSP and Asset Inventory. ### Checklist - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/src/platform/packages/shared/kbn-i18n/README.md) - [x] 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. - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) ### Identify risks No risks. Co-authored-by: Elastic Machine <[email protected]>
- Loading branch information