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

[Onboarding]Update manage indices button in index management to navigate to search_indices details page #196787

Merged
merged 18 commits into from
Oct 24, 2024

Conversation

saarikabhasi
Copy link
Member

@saarikabhasi saarikabhasi commented Oct 18, 2024

In this PR, updating manage indices button to navigate to search_indices details page.

demo.mov

Checklist

@saarikabhasi saarikabhasi added backport:prev-minor Backport to (8.x) the previous minor version (i.e. one version back from main) v8.16.0 release_note:skip Skip the PR/issue when compiling release notes labels Oct 18, 2024
@saarikabhasi saarikabhasi marked this pull request as ready for review October 18, 2024 13:08
@saarikabhasi saarikabhasi requested review from a team as code owners October 18, 2024 13:08
@saarikabhasi saarikabhasi force-pushed the update-index-list-actions branch from 24a3363 to 6f3b582 Compare October 18, 2024 13:30
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7177

[✅] x-pack/test_serverless/functional/test_suites/search/config.feature_flags.ts: 25/25 tests passed.

see run history

update CI check search_indices plugin
@saarikabhasi saarikabhasi force-pushed the update-index-list-actions branch from 6aa3c83 to 1bff218 Compare October 18, 2024 14:19
@mdefazio
Copy link
Contributor

Can we remove the title from the popover? It's redundant with the 'Manage' button action

@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7182

[✅] x-pack/test_serverless/functional/test_suites/search/config.feature_flags.ts: 25/25 tests passed.

see run history

@saarikabhasi
Copy link
Member Author

Can we remove the title from the popover? It's redundant with the 'Manage' button action

@mdefazio I think we may need to check with appEX team before we make the change?

@saarikabhasi saarikabhasi force-pushed the update-index-list-actions branch from 78e86cd to e58ca29 Compare October 18, 2024 17:58
@kibanamachine
Copy link
Contributor

Flaky Test Runner Stats

🎉 All tests passed! - kibana-flaky-test-suite-runner#7188

[✅] x-pack/test_serverless/functional/test_suites/search/config.feature_flags.ts: 25/25 tests passed.
[✅] x-pack/test_serverless/functional/test_suites/search/common_configs/config.group1.ts: 25/25 tests passed.

see run history

@mattkime mattkime self-requested a review October 21, 2024 02:20
@mattkime
Copy link
Contributor

This is a bug fix for functionality introduced in 8.16.0, right? If so, it would be nice to link to the PR (and issue?) that they're following up. I'm sure I'm lacking some context since I'm new to the team but it would also be nice to for anyone else who's unfamiliar.

@mattkime
Copy link
Contributor

Looks good to me and works well but I'm going to see if another teammate can look as well since this is my first time looking at this code.

Copy link
Contributor

@ElenaStoeva ElenaStoeva left a comment

Choose a reason for hiding this comment

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

Adding a second review from @elastic/kibana-management team. I tested it locally and everything works as expected. As for the code changes, I have no additional comments beyond agreeing with @mattkime's suggestions. It would be great to address those.

@saarikabhasi saarikabhasi force-pushed the update-index-list-actions branch from 3e5fadf to 2ecafde Compare October 21, 2024 15:10
@saarikabhasi
Copy link
Member Author

it would be nice to link to the PR (and issue?) that they're following up. I'm sure I'm lacking some context since I'm new to the team but it would also be nice to for anyone else who's unfamiliar.

I apologize I had missed to link ticket

@saarikabhasi saarikabhasi force-pushed the update-index-list-actions branch from 7290e8e to 3de0c5f Compare October 22, 2024 14:27
Copy link
Contributor

@TattdCodeMonkey TattdCodeMonkey left a comment

Choose a reason for hiding this comment

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

Overall LGTM, removing the history param would be a nice clean-up since we're no longer using it, but we can do that in a follow-up if we want to get the fix merged sooner.

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
@kbn/index-management-shared-types 124 126 +2

Async chunks

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

id before after diff
indexManagement 688.5KB 688.4KB -111.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
indexManagement 45.6KB 45.8KB +262.0B
searchIndices 7.1KB 7.2KB +107.0B
total +369.0B
Unknown metric groups

API count

id before after diff
@kbn/index-management-shared-types 124 126 +2

History

Copy link
Contributor

@mattkime mattkime left a comment

Choose a reason for hiding this comment

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

Looks good and works well!

@saarikabhasi saarikabhasi merged commit f25ef61 into elastic:main Oct 24, 2024
22 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.16, 8.x

https://github.com/elastic/kibana/actions/runs/11499864843

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 24, 2024
…ate to search_indices details page (elastic#196787)

In this PR, updating manage indices button to navigate to search_indices
details page.

https://github.com/user-attachments/assets/29868c2d-7c6f-4895-b5e7-b5dea161c09a

### Checklist

- [x] [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
- [x] [Flaky Test
Runner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1) was
used on any tests changed

---------

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit f25ef61)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.16 Backport failed because of merge conflicts
8.x

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 196787

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Oct 24, 2024
… navigate to search_indices details page (#196787) (#197634)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Onboarding]Update manage indices button in index management to
navigate to search_indices details page
(#196787)](#196787)

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

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

<!--BACKPORT [{"author":{"name":"Saarika
Bhasi","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-24T13:02:54Z","message":"[Onboarding]Update
manage indices button in index management to navigate to search_indices
details page (#196787)\n\nIn this PR, updating manage indices button to
navigate to search_indices\r\ndetails
page.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/29868c2d-7c6f-4895-b5e7-b5dea161c09a\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [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- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"f25ef61d52ded8e3cdbc00704f0425cb0536a92d","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-minor","v8.16.0"],"title":"[Onboarding]Update
manage indices button in index management to navigate to search_indices
details
page","number":196787,"url":"https://github.com/elastic/kibana/pull/196787","mergeCommit":{"message":"[Onboarding]Update
manage indices button in index management to navigate to search_indices
details page (#196787)\n\nIn this PR, updating manage indices button to
navigate to search_indices\r\ndetails
page.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/29868c2d-7c6f-4895-b5e7-b5dea161c09a\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [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- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"f25ef61d52ded8e3cdbc00704f0425cb0536a92d"}},"sourceBranch":"main","suggestedTargetBranches":["8.16"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196787","number":196787,"mergeCommit":{"message":"[Onboarding]Update
manage indices button in index management to navigate to search_indices
details page (#196787)\n\nIn this PR, updating manage indices button to
navigate to search_indices\r\ndetails
page.\r\n\r\n\r\n\r\nhttps://github.com/user-attachments/assets/29868c2d-7c6f-4895-b5e7-b5dea161c09a\r\n\r\n\r\n\r\n###
Checklist\r\n\r\n- [x] [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- [x] [Flaky
Test\r\nRunner](https://ci-stats.kibana.dev/trigger_flaky_test_runner/1)
was\r\nused on any tests changed\r\n\r\n---------\r\n\r\nCo-authored-by:
kibanamachine
<[email protected]>","sha":"f25ef61d52ded8e3cdbc00704f0425cb0536a92d"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Saarika Bhasi <[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) release_note:skip Skip the PR/issue when compiling release notes v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants