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

[Console] Fix wrong autocomplete suggestions on typing in slash #171948

Merged
merged 6 commits into from
Nov 29, 2023

Conversation

sakurai-youhei
Copy link
Member

@sakurai-youhei sakurai-youhei commented Nov 25, 2023

Closes #171947

Summary

This PR fixes wrong autocomplete suggestions on typing in slash in some specific cases.
fix-suggestion-on-slash

For maintainers

Release note

Fixes wrong autocomplete suggestions on typing in slash

@sakurai-youhei sakurai-youhei added bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature release_note:fix backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) labels Nov 25, 2023
@sakurai-youhei sakurai-youhei requested a review from a team as a code owner November 25, 2023 16:26
@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Defend Workflows Cypress Tests on Serverless #2 / Response console Execute operations: "before all" hook for ""execute --command" - should execute a command" "before all" hook for ""execute --command" - should execute a command"

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
console 404.7KB 404.8KB +130.0B

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

@yuliacech yuliacech self-requested a review November 29, 2023 11:40
@yuliacech yuliacech added the Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more label Nov 29, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/platform-deployment-management (Team:Deployment Management)

Copy link
Contributor

@yuliacech yuliacech left a comment

Choose a reason for hiding this comment

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

Thanks a lot, @sakurai-youhei! Tested locally and changes LGTM 👍

@sakurai-youhei sakurai-youhei merged commit 11136b6 into elastic:main Nov 29, 2023
2 checks passed
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Nov 29, 2023
…tic#171948)

Closes elastic#171947

## Summary

This PR fixes wrong autocomplete suggestions on typing in slash in some
specific cases.

![fix-suggestion-on-slash](https://github.com/elastic/kibana/assets/721858/f3cab482-63ca-4ee7-99b7-0e3fc37e8940)

### For maintainers

- [x] This was checked for breaking API changes and was [labeled
appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

## Release note

Fixes wrong autocomplete suggestions on typing in slash

(cherry picked from commit 11136b6)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.11

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 Nov 29, 2023
#171948) (#172177)

# Backport

This will backport the following commits from `main` to `8.11`:
- [[Console] Fix wrong autocomplete suggestions on typing in slash
(#171948)](#171948)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT [{"author":{"name":"Youhei
Sakurai","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-11-29T14:22:40Z","message":"[Console]
Fix wrong autocomplete suggestions on typing in slash
(#171948)\n\nCloses #171947\r\n\r\n## Summary\r\n\r\nThis PR fixes wrong
autocomplete suggestions on typing in slash in some\r\nspecific
cases.\r\n\r\n![fix-suggestion-on-slash](https://github.com/elastic/kibana/assets/721858/f3cab482-63ca-4ee7-99b7-0e3fc37e8940)\r\n\r\n###
For maintainers\r\n\r\n- [x] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n##
Release note\r\n\r\nFixes wrong autocomplete suggestions on typing in
slash","sha":"11136b688061fd3f4914915ea0da6e3917b5e66b","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","Feature:Console","release_note:fix","Team:Deployment
Management","backport:prev-minor","v8.12.0"],"number":171948,"url":"https://github.com/elastic/kibana/pull/171948","mergeCommit":{"message":"[Console]
Fix wrong autocomplete suggestions on typing in slash
(#171948)\n\nCloses #171947\r\n\r\n## Summary\r\n\r\nThis PR fixes wrong
autocomplete suggestions on typing in slash in some\r\nspecific
cases.\r\n\r\n![fix-suggestion-on-slash](https://github.com/elastic/kibana/assets/721858/f3cab482-63ca-4ee7-99b7-0e3fc37e8940)\r\n\r\n###
For maintainers\r\n\r\n- [x] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n##
Release note\r\n\r\nFixes wrong autocomplete suggestions on typing in
slash","sha":"11136b688061fd3f4914915ea0da6e3917b5e66b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/171948","number":171948,"mergeCommit":{"message":"[Console]
Fix wrong autocomplete suggestions on typing in slash
(#171948)\n\nCloses #171947\r\n\r\n## Summary\r\n\r\nThis PR fixes wrong
autocomplete suggestions on typing in slash in some\r\nspecific
cases.\r\n\r\n![fix-suggestion-on-slash](https://github.com/elastic/kibana/assets/721858/f3cab482-63ca-4ee7-99b7-0e3fc37e8940)\r\n\r\n###
For maintainers\r\n\r\n- [x] This was checked for breaking API changes
and was
[labeled\r\nappropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\r\n\r\n##
Release note\r\n\r\nFixes wrong autocomplete suggestions on typing in
slash","sha":"11136b688061fd3f4914915ea0da6e3917b5e66b"}}]}] BACKPORT-->

Co-authored-by: Youhei Sakurai <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) bug Fixes for quality problems that affect the customer experience Feature:Console Dev Tools Console Feature release_note:fix Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more v8.11.2 v8.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Console] url.slash behaves like url.comma on autocomplete
5 participants