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

[App Search] Fix engine routes that are meta engine or non-meta-engine specific #104757

Merged
merged 1 commit into from
Jul 7, 2021

Conversation

cee-chen
Copy link
Contributor

@cee-chen cee-chen commented Jul 7, 2021

Summary

Update meta/non-meta engine routes to include their respective isMetaEngine conditional. This matches their nav link behavior, and is basically an extra safety check for inquisitive users or wonky link issues.

I noticed this in #104693 (which we're no longer fully using) and pulled it out to its own separate PR

Before

After

Checklist

- to include conditionals in their routing

- this matches their nav link behavior - we should have checks in routes as well just in case
@cee-chen cee-chen added bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes v7.14.0 auto-backport Deprecated - use backport:version if exact versions are needed v7.15.0 labels Jul 7, 2021
@cee-chen cee-chen requested a review from a team July 7, 2021 19:46
@cee-chen cee-chen enabled auto-merge (squash) July 7, 2021 21:19
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
enterpriseSearch 2.1MB 2.1MB +55.0B

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

@cee-chen cee-chen merged commit 7af3be0 into elastic:master Jul 7, 2021
@cee-chen cee-chen deleted the isMetaEngine-routes branch July 7, 2021 21:52
@kibanamachine
Copy link
Contributor

💔 Backport failed

Status Branch Result
7.14 Commit could not be cherrypicked due to conflicts
7.x Commit could not be cherrypicked due to conflicts

To backport manually run:
node scripts/backport --pr 104757

cee-chen pushed a commit to cee-chen/kibana that referenced this pull request Jul 8, 2021
…lastic#104757)

- to include conditionals in their routing

- this matches their nav link behavior - we should have checks in routes as well just in case
# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx
jloleysens added a commit to jloleysens/kibana that referenced this pull request Jul 8, 2021
…-of-max-results

* 'master' of github.com:elastic/kibana: (36 commits)
  Lower Kibana app bundle limits (elastic#104688)
  [Security Solutions] Fixes bug with the filter query compatibility for transforms (elastic#104559)
  [RAC] Add mapping update logic to RuleDataClient (elastic#102586)
  Fix import workpad (elastic#104722)
  [canvas] Fix Storybook service decorator (elastic#104750)
  [Detection Rules] Add 7.14 rules (elastic#104772)
  [Enterprise Search] Fix beta notification in sidebar (elastic#104763)
  Fix engine routes that are meta engine or non-meta-engine specific (elastic#104757)
  [Fleet] Fix policy revision number getting bumped for no reason (elastic#104696)
  persistable state migrations (elastic#103680)
  [Fleet] Fix add agent in the package policy table (elastic#104749)
  [DOCS] Creates separate doc for security in production (elastic#103973)
  [SO Migration] fix reindex race on multi-instance mode (elastic#104516)
  [Security Solution] Update text in Endpoint Admin pages (elastic#104649)
  [package testing] Decrease timeout to 2 hours (elastic#104668)
  Fix background styling of waterfall chart sidebar tooltip. (elastic#103997)
  [Fleet + Integrations UI] Integrations UI Cleanup (elastic#104641)
  [Fleet] Link to download page of current stack version on Agent install instructions (elastic#104494)
  [Workplace Search] Fix Media Type field preview is unformatted bug (elastic#104684)
  [ML] add marker body (elastic#104672)
  ...

# Conflicts:
#	x-pack/plugins/fleet/public/search_provider.test.ts
cee-chen pushed a commit that referenced this pull request Jul 8, 2021
…fic (#104757) (#104794)

* Fix engine routes that are meta engine or non-meta-engine specific (#104757)

- to include conditionals in their routing

- this matches their nav link behavior - we should have checks in routes as well just in case
# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx

* Fix bad merge conflict
cee-chen pushed a commit that referenced this pull request Jul 8, 2021
…ific (#104757) (#104795)

* Fix engine routes that are meta engine or non-meta-engine specific (#104757)

- to include conditionals in their routing

- this matches their nav link behavior - we should have checks in routes as well just in case
# Conflicts:
#	x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_router.test.tsx

* Fix bad merge conflict
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes v7.14.0 v7.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants