Skip to content
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

[Workplace Search] Refactor nav constants #82646

Conversation

scottybollinger
Copy link
Contributor

Summary

This is a small refactor PR to clean up the navigation structure for Workplace Search. We began the process of extracting i18n constants to a constants file in a previous PR and this centralizes the nav constants in preparation for adding new components other than groups.

This was only needed locally in Groups but we can to store all  nav constants in the global constants file
@scottybollinger scottybollinger added Feature:Plugins release_note:skip Skip the PR/issue when compiling release notes v7.11.0 labels Nov 4, 2020
@scottybollinger scottybollinger requested review from a team and yakhinvadim November 4, 2020 18:24
@scottybollinger
Copy link
Contributor Author

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

@kbn/optimizer bundle module count

id before after diff
enterpriseSearch 438 437 -1

async chunks size

id before after diff
enterpriseSearch 650.8KB 650.9KB +174.0B

History

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

@scottybollinger scottybollinger merged commit ccc3e23 into elastic:master Nov 5, 2020
@scottybollinger scottybollinger deleted the scottybollinger/ws-nav-refactor branch November 5, 2020 17:48
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 9, 2020
@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create backports run node scripts/backport --pr 82646 or prevent reminders by adding the backport:skip label.

scottybollinger added a commit to scottybollinger/kibana that referenced this pull request Nov 9, 2020
* Move NAV constants to top level

This was only needed locally in Groups but we can to store all  nav constants in the global constants file

* Extract remaining nav constants

* Fix links to NAV in routers

* Use constant for path

Co-authored-by: Kibana Machine <[email protected]>
@kibanamachine kibanamachine removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Nov 9, 2020
scottybollinger added a commit that referenced this pull request Nov 9, 2020
* Move NAV constants to top level

This was only needed locally in Groups but we can to store all  nav constants in the global constants file

* Extract remaining nav constants

* Fix links to NAV in routers

* Use constant for path

Co-authored-by: Kibana Machine <[email protected]>

Co-authored-by: Kibana Machine <[email protected]>
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