Skip to content

[App Search] Implement initial Engine routing/navigation#82549

Merged
cee-chen merged 6 commits intoelastic:masterfrom
cee-chen:engine-nav
Nov 5, 2020
Merged

[App Search] Implement initial Engine routing/navigation#82549
cee-chen merged 6 commits intoelastic:masterfrom
cee-chen:engine-nav

Conversation

@cee-chen
Copy link
Copy Markdown
Contributor

@cee-chen cee-chen commented Nov 4, 2020

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

screencap

Checklist

@cee-chen cee-chen added Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Nov 4, 2020
@cee-chen cee-chen requested review from a team and JasonStoltz November 4, 2020 00:36
Comment on lines 12 to 14
Copy link
Copy Markdown
Contributor Author

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.

Copy link
Copy Markdown
Contributor Author

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

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

@kbn/optimizer bundle module count

id before after diff
enterpriseSearch 438 450 +12

async chunks size

id before after diff
enterpriseSearch 650.8KB 664.4KB +13.6KB

distributable file count

id before after diff
default 42719 42720 +1

History

  • 💚 Build #85715 succeeded 45736aacd65b679ce4cf65e395dd92ff3c464143

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Copy Markdown
Member

@JasonStoltz JasonStoltz left a 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.

@cee-chen cee-chen merged commit 074ef6f into elastic:master Nov 5, 2020
@cee-chen cee-chen deleted the engine-nav branch November 5, 2020 17:51
cee-chen pushed a commit that referenced this pull request Nov 5, 2020
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes v7.11.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants