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

[Search] Fix State not reset while navigating different connectors #177465

Merged

Conversation

efegurkan
Copy link
Member

@efegurkan efegurkan commented Feb 21, 2024

Summary

Fixes state not resetting while navigating in between connectors.

Screen.Recording.2024-02-21.at.16.30.26.mov

Also moved Attach index box to bottom to comply with designs.

Checklist

Delete any items that are not applicable to this PR.

@efegurkan efegurkan added bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.13.0 v8.14.0 labels Feb 21, 2024
@efegurkan efegurkan requested a review from a team February 21, 2024 15:34
Copy link
Contributor

@navarone-feekery navarone-feekery left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@efegurkan efegurkan enabled auto-merge (squash) February 21, 2024 16:46
@kibana-ci
Copy link
Collaborator

💚 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.7MB 2.7MB +234.0B

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

@efegurkan efegurkan merged commit 27cf6cc into elastic:main Feb 21, 2024
28 checks passed
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Feb 21, 2024
…lastic#177465)

## Summary

Fixes state not resetting while navigating in between connectors.

https://github.com/elastic/kibana/assets/1410658/1fb7a67d-2e87-480f-8c7b-98c634eb90b6

Also moved Attach index box to bottom to comply with designs.

### Checklist

Delete any items that are not applicable to this PR.

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)

(cherry picked from commit 27cf6cc)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.13

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Feb 21, 2024
…tors (#177465) (#177487)

# Backport

This will backport the following commits from `main` to `8.13`:
- [[Search] Fix State not reset while navigating different connectors
(#177465)](#177465)

<!--- Backport version: 9.4.3 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Efe Gürkan
YALAMAN","email":"efeguerkan.yalaman@elastic.co"},"sourceCommit":{"committedDate":"2024-02-21T16:51:53Z","message":"[Search]
Fix State not reset while navigating different connectors
(#177465)\n\n## Summary\r\n\r\nFixes state not resetting while
navigating in between
connectors.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1410658/1fb7a67d-2e87-480f-8c7b-98c634eb90b6\r\n\r\n\r\nAlso
moved Attach index box to bottom to comply with designs.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] This renders correctly on
smaller devices using a responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"27cf6ccf356ee56446fdd19d291b910547e3833e","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:skip","Team:EnterpriseSearch","v8.13.0","v8.14.0"],"title":"[Search]
Fix State not reset while navigating different
connectors","number":177465,"url":"https://github.com/elastic/kibana/pull/177465","mergeCommit":{"message":"[Search]
Fix State not reset while navigating different connectors
(#177465)\n\n## Summary\r\n\r\nFixes state not resetting while
navigating in between
connectors.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1410658/1fb7a67d-2e87-480f-8c7b-98c634eb90b6\r\n\r\n\r\nAlso
moved Attach index box to bottom to comply with designs.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] This renders correctly on
smaller devices using a responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"27cf6ccf356ee56446fdd19d291b910547e3833e"}},"sourceBranch":"main","suggestedTargetBranches":["8.13"],"targetPullRequestStates":[{"branch":"8.13","label":"v8.13.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.14.0","branchLabelMappingKey":"^v8.14.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/177465","number":177465,"mergeCommit":{"message":"[Search]
Fix State not reset while navigating different connectors
(#177465)\n\n## Summary\r\n\r\nFixes state not resetting while
navigating in between
connectors.\r\n\r\n\r\n\r\nhttps://github.com/elastic/kibana/assets/1410658/1fb7a67d-2e87-480f-8c7b-98c634eb90b6\r\n\r\n\r\nAlso
moved Attach index box to bottom to comply with designs.\r\n\r\n###
Checklist\r\n\r\nDelete any items that are not applicable to this
PR.\r\n\r\n- [ ] [Unit or
functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere
updated or added to match the most common scenarios\r\n- [ ] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n- [x] This renders correctly on
smaller devices using a responsive\r\nlayout. (You can test this [in
your\r\nbrowser](https://www.browserstack.com/guide/responsive-testing-on-local-server))\r\n-
[x] This was checked for
[cross-browser\r\ncompatibility](https://www.elastic.co/support/matrix#matrix_browsers)","sha":"27cf6ccf356ee56446fdd19d291b910547e3833e"}}]}]
BACKPORT-->

Co-authored-by: Efe Gürkan YALAMAN <efeguerkan.yalaman@elastic.co>
fkanout pushed a commit to fkanout/kibana that referenced this pull request Mar 4, 2024
…lastic#177465)

## Summary

Fixes state not resetting while navigating in between connectors.



https://github.com/elastic/kibana/assets/1410658/1fb7a67d-2e87-480f-8c7b-98c634eb90b6


Also moved Attach index box to bottom to comply with designs.

### Checklist

Delete any items that are not applicable to this PR.

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [ ] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed
- [x] This renders correctly on smaller devices using a responsive
layout. (You can test this [in your
browser](https://www.browserstack.com/guide/responsive-testing-on-local-server))
- [x] This was checked for [cross-browser
compatibility](https://www.elastic.co/support/matrix#matrix_browsers)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:EnterpriseSearch v8.13.0 v8.14.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants