Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] [Onboarding][Index detail] Update right side menu items (#194604)…
… (#194761) # Backport This will backport the following commits from `main` to `8.x`: - [[Onboarding][Index detail] Update right side menu items (#194604)](#194604) <!--- 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-02T19:21:59Z","message":"[Onboarding][Index detail] Update right side menu items (#194604)\n\n## Summary\r\nIn this PR, updates search index detail page right side menu item. \r\n\r\nThe drop down menu item is updated to have :\r\n* Api reference doc link\r\n* Use in playground link which navigates to playground selecting this\r\nindex name\r\n\r\nWhen documents exists right side header action is replaced with `Use in\r\nplayground` else `Api reference doc link`\r\n\r\n### Screenshot\r\n<img width=\"1728\" alt=\"Screenshot 2024-10-01 at 11 07 45 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/026c89f8-08fa-41cf-b47f-73fcc2fb07ef\">\r\n<img width=\"1728\" alt=\"Screenshot 2024-10-01 at 11 08 20 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/447641e0-8693-466a-a4d7-32764f86bf01\">\r\n\r\n**How to test:** \r\n1. Enable searchIndices plugin in `kibana.dev.yml` as this plugin is\r\nbehind Feature flag\r\n```\r\nxpack.searchIndices.enabled: true\r\n\r\n```\r\n2. [Create new\r\nindex](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html)\r\n3. Navigate to\r\n`/app/elasticsearch/indices/index_details/${indexName}/data`\r\n4. Confirm index header action is `Api Reference doc` \r\n5. Add documents confirm index header action is changed to `Use in\r\nplayground`\r\n6. Confirm menu item shows delete index, use in playground & api\r\nreference doc link\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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","sha":"d482a0a295cfc55c6635f32741543bde7cb38884","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:Search","backport:prev-minor","v8.16.0"],"title":"[Onboarding][Index detail] Update right side menu items ","number":194604,"url":"https://github.com/elastic/kibana/pull/194604","mergeCommit":{"message":"[Onboarding][Index detail] Update right side menu items (#194604)\n\n## Summary\r\nIn this PR, updates search index detail page right side menu item. \r\n\r\nThe drop down menu item is updated to have :\r\n* Api reference doc link\r\n* Use in playground link which navigates to playground selecting this\r\nindex name\r\n\r\nWhen documents exists right side header action is replaced with `Use in\r\nplayground` else `Api reference doc link`\r\n\r\n### Screenshot\r\n<img width=\"1728\" alt=\"Screenshot 2024-10-01 at 11 07 45 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/026c89f8-08fa-41cf-b47f-73fcc2fb07ef\">\r\n<img width=\"1728\" alt=\"Screenshot 2024-10-01 at 11 08 20 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/447641e0-8693-466a-a4d7-32764f86bf01\">\r\n\r\n**How to test:** \r\n1. Enable searchIndices plugin in `kibana.dev.yml` as this plugin is\r\nbehind Feature flag\r\n```\r\nxpack.searchIndices.enabled: true\r\n\r\n```\r\n2. [Create new\r\nindex](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html)\r\n3. Navigate to\r\n`/app/elasticsearch/indices/index_details/${indexName}/data`\r\n4. Confirm index header action is `Api Reference doc` \r\n5. Add documents confirm index header action is changed to `Use in\r\nplayground`\r\n6. Confirm menu item shows delete index, use in playground & api\r\nreference doc link\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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","sha":"d482a0a295cfc55c6635f32741543bde7cb38884"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/194604","number":194604,"mergeCommit":{"message":"[Onboarding][Index detail] Update right side menu items (#194604)\n\n## Summary\r\nIn this PR, updates search index detail page right side menu item. \r\n\r\nThe drop down menu item is updated to have :\r\n* Api reference doc link\r\n* Use in playground link which navigates to playground selecting this\r\nindex name\r\n\r\nWhen documents exists right side header action is replaced with `Use in\r\nplayground` else `Api reference doc link`\r\n\r\n### Screenshot\r\n<img width=\"1728\" alt=\"Screenshot 2024-10-01 at 11 07 45 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/026c89f8-08fa-41cf-b47f-73fcc2fb07ef\">\r\n<img width=\"1728\" alt=\"Screenshot 2024-10-01 at 11 08 20 AM\"\r\nsrc=\"https://github.com/user-attachments/assets/447641e0-8693-466a-a4d7-32764f86bf01\">\r\n\r\n**How to test:** \r\n1. Enable searchIndices plugin in `kibana.dev.yml` as this plugin is\r\nbehind Feature flag\r\n```\r\nxpack.searchIndices.enabled: true\r\n\r\n```\r\n2. [Create new\r\nindex](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html)\r\n3. Navigate to\r\n`/app/elasticsearch/indices/index_details/${indexName}/data`\r\n4. Confirm index header action is `Api Reference doc` \r\n5. Add documents confirm index header action is changed to `Use in\r\nplayground`\r\n6. Confirm menu item shows delete index, use in playground & api\r\nreference doc link\r\n\r\n### Checklist\r\n\r\nDelete any items that are not applicable to this PR.\r\n\r\n- [x] Any text added follows [EUI's writing\r\nguidelines](https://elastic.github.io/eui/#/guidelines/writing), uses\r\nsentence case text and includes [i18n\r\nsupport](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md)\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","sha":"d482a0a295cfc55c6635f32741543bde7cb38884"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Saarika Bhasi <[email protected]>
- Loading branch information