* Set up App Search routes constants file * Create new helper/generator for external URLs * Update plugin to pass externalUrl helper in KibanaContext * Update AS & WS navs to use new external url generator * Update App Search views to use new externalUrl.getAppSearchUrl helper * Update Workplace Search to use externalUrl.getWorkplaceSearchUrl helper + remove old useRoutes.getWSRoute helper, which was the inspiration for this * Rename top-level enterpriseSearchUrl to config.host - This allows us to more clearly separate concerns between the URL set in config.host and externalUrl.enterpriseSearchUrl (used for front-end links, may be a vanity/public URL) - This change also enables us to not mutate Kibana's config obj, which is much cleaner Misc tech debt: - Reorder renderApp args (from least to most likely to change) - Rename our public url methods/vars to more generic "init data" names - this is in preparation for upcoming changes where we pull more than just external_url from our client endpoint * Fix broken Workplace Search nav links - that require a hash for routing to work Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com> |
||
---|---|---|
.. | ||
common | ||
public | ||
server | ||
kibana.json | ||
README.md |
Enterprise Search
Overview
This plugin's goal is to provide a Kibana user interface to the Enterprise Search solution's products (App Search and Workplace Search). In it's current MVP state, the plugin provides the following with the goal of gathering user feedback and raising product awareness:
- App Search: A basic engines overview with links into the product.
- Workplace Search: A simple app overview with basic statistics, links to the sources, users (if standard auth), and product settings.
Development
- When developing locally, Enterprise Search should be running locally alongside Kibana on
localhost:3002
. - Update
config/kibana.dev.yml
withenterpriseSearch.host: 'http://localhost:3002'
- For faster QA/development, run Enterprise Search on elasticsearch-native auth and log in as the
elastic
superuser on Kibana.
Testing
Unit tests
From kibana-root-folder/x-pack
, run:
yarn test:jest plugins/enterprise_search