-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[App Search] Implement initial Engine routing/navigation #82549
Conversation
export const ENGINES_TITLE = i18n.translate('xpack.enterpriseSearch.appSearch.engines.title', { | ||
defaultMessage: 'Engines', | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This definitely probably doesn't belong in this file but I plan on moving it/DRYing out more i18n const's in a follow up PR here shortly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Follow up cleanup PR after this: cee-chen/kibana@engine-nav...consts-refactor
Routes: use generatePath to better match ent-search Roles: We're using "Search UI" in the nav copy now, so we should update our vars accordingly
💚 Build SucceededMetrics [docs]@kbn/optimizer bundle module count
async chunks size
distributable file count
History
To update your PR or re-run it, just comment with: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work, this LGTM.
…2758) * [Setup] Update routes + role privileges Routes: use generatePath to better match ent-search Roles: We're using "Search UI" in the nav copy now, so we should update our vars accordingly * Add new EngineNav and EngineRouter components * Update existing components to use new EngineRouter/EngineNav * Add App Search engine label & new SideNavItem component * Add EngineRouter breadcrumbs * [Refactor] DRY out i18n constants
Summary
This PR adds the engine sub-nav & routing to App Search, based on Davey's initial Figma mocks (there is some deviation and re-ordering from ent-search as a note.)
It adds two dummy "routes" (Engine Overview and Analytics), mostly to confirm that routing and breadcrumbs work. There are still a lot of TODOs in the code (mostly around EngineLogic).
I recommend following along by commit if possible.
Screencaps
Checklist