Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.13] Fix breadcrumbs and sidebar navigation for connectors/crawler …
…+ fix routes for connectors (elastic#178078) (elastic#178249) # Backport This will backport the following commits from `main` to `8.13`: - [Fix breadcrumbs and sidebar navigation for connectors/crawler + fix routes for connectors (elastic#178078)](elastic#178078) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Artem Shelkovnikov","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-03-07T17:02:46Z","message":"Fix breadcrumbs and sidebar navigation for connectors/crawler + fix routes for connectors (elastic#178078)\n\n## Summary\r\n\r\nAttempts to address\r\nhttps://github.com/elastic/search-team/issues/6514.\r\n\r\nSeveral fixes were made:\r\n\r\n- Routing for new index was broken down into 3 routes per type: new api\r\nindex, new connector, new crawler. It was done so that the sidebar\r\nnavigation would be accurate\r\n- Breadcrumbs were updated to match the page location + sidebar\r\nnavigation.\r\n\r\n## Routing changes to update navigation:\r\n\r\nSelect connector:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/select_connector\r\nchanged to\r\napp/enterprise_search/content/connectors/select_connector\r\n```\r\n\r\nNew connector:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/connector?service_type=X&connector_type=Y\r\nchanged to\r\napp/enterprise_search/content/connectors/new_connector?service_type=X&connector_type=Y\r\n```\r\n\r\nNew web crawler:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/crawler\r\nchanged to\r\napp/enterprise_search/content/crawlers/new_crawler\r\n```\r\n\r\n### Index of Web Crawlers\r\n\r\nBreadcrumbs were changed to \"Web crawlers\"\r\n\r\nBefore: \r\n<img width=\"455\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/edd20cf5-40d1-40e8-aa74-3382e0fd2d32\">\r\n\r\nAfter:\r\n<img width=\"455\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/4c7941a7-a9b4-4b18-8920-0002a1bf8e78\">\r\n\r\n### Create Web Crawler\r\n\r\nBreadcrumbs and sidebar navigation were changed to \"Web crawlers\"\r\n\r\nBefore:\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/4e4182ca-5e75-471a-b0fc-4cc43b2d4fd5\">\r\n\r\nAfter:\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/e06190ce-9819-419c-9885-2dee3a93794f\">\r\n\r\n### Select Connector\r\n\r\nBreadcrumb was changed to \"Connectors\"\r\n\r\nBefore:\r\n<img width=\"553\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/6472e28e-0123-4327-9afb-118f99e50662\">\r\n\r\nAfter:\r\n<img width=\"553\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/7b5cdc89-2d35-4dd9-923f-66cba122c65d\">\r\n\r\n### Create connector\r\n\r\nBreadcrumb was fixed + sidebar navigation during actual creation is now\r\nfixed. Notice, than breadcrumb now mentions connector name!\r\n\r\nBefore:\r\n\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/2baeb13c-be55-4503-8b90-4b4e152e0e35\">\r\n\r\nAfter:\r\n\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/c005567b-5da7-4405-a484-4a54fa84be60\">\r\n\r\n\r\n### Checklist\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\r\n### Release Note\r\n\r\nFix breadcrumbs for several Elastic Search Content pages.","sha":"a199e7847182f4746cf07768c50a2aad1df04121","branchLabelMapping":{"^v8.14.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.13.0","v8.14.0"],"title":"Fix breadcrumbs and sidebar navigation for connectors/crawler + fix routes for connectors","number":178078,"url":"https://github.com/elastic/kibana/pull/178078","mergeCommit":{"message":"Fix breadcrumbs and sidebar navigation for connectors/crawler + fix routes for connectors (elastic#178078)\n\n## Summary\r\n\r\nAttempts to address\r\nhttps://github.com/elastic/search-team/issues/6514.\r\n\r\nSeveral fixes were made:\r\n\r\n- Routing for new index was broken down into 3 routes per type: new api\r\nindex, new connector, new crawler. It was done so that the sidebar\r\nnavigation would be accurate\r\n- Breadcrumbs were updated to match the page location + sidebar\r\nnavigation.\r\n\r\n## Routing changes to update navigation:\r\n\r\nSelect connector:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/select_connector\r\nchanged to\r\napp/enterprise_search/content/connectors/select_connector\r\n```\r\n\r\nNew connector:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/connector?service_type=X&connector_type=Y\r\nchanged to\r\napp/enterprise_search/content/connectors/new_connector?service_type=X&connector_type=Y\r\n```\r\n\r\nNew web crawler:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/crawler\r\nchanged to\r\napp/enterprise_search/content/crawlers/new_crawler\r\n```\r\n\r\n### Index of Web Crawlers\r\n\r\nBreadcrumbs were changed to \"Web crawlers\"\r\n\r\nBefore: \r\n<img width=\"455\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/edd20cf5-40d1-40e8-aa74-3382e0fd2d32\">\r\n\r\nAfter:\r\n<img width=\"455\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/4c7941a7-a9b4-4b18-8920-0002a1bf8e78\">\r\n\r\n### Create Web Crawler\r\n\r\nBreadcrumbs and sidebar navigation were changed to \"Web crawlers\"\r\n\r\nBefore:\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/4e4182ca-5e75-471a-b0fc-4cc43b2d4fd5\">\r\n\r\nAfter:\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/e06190ce-9819-419c-9885-2dee3a93794f\">\r\n\r\n### Select Connector\r\n\r\nBreadcrumb was changed to \"Connectors\"\r\n\r\nBefore:\r\n<img width=\"553\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/6472e28e-0123-4327-9afb-118f99e50662\">\r\n\r\nAfter:\r\n<img width=\"553\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/7b5cdc89-2d35-4dd9-923f-66cba122c65d\">\r\n\r\n### Create connector\r\n\r\nBreadcrumb was fixed + sidebar navigation during actual creation is now\r\nfixed. Notice, than breadcrumb now mentions connector name!\r\n\r\nBefore:\r\n\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/2baeb13c-be55-4503-8b90-4b4e152e0e35\">\r\n\r\nAfter:\r\n\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/c005567b-5da7-4405-a484-4a54fa84be60\">\r\n\r\n\r\n### Checklist\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\r\n### Release Note\r\n\r\nFix breadcrumbs for several Elastic Search Content pages.","sha":"a199e7847182f4746cf07768c50a2aad1df04121"}},"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/178078","number":178078,"mergeCommit":{"message":"Fix breadcrumbs and sidebar navigation for connectors/crawler + fix routes for connectors (elastic#178078)\n\n## Summary\r\n\r\nAttempts to address\r\nhttps://github.com/elastic/search-team/issues/6514.\r\n\r\nSeveral fixes were made:\r\n\r\n- Routing for new index was broken down into 3 routes per type: new api\r\nindex, new connector, new crawler. It was done so that the sidebar\r\nnavigation would be accurate\r\n- Breadcrumbs were updated to match the page location + sidebar\r\nnavigation.\r\n\r\n## Routing changes to update navigation:\r\n\r\nSelect connector:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/select_connector\r\nchanged to\r\napp/enterprise_search/content/connectors/select_connector\r\n```\r\n\r\nNew connector:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/connector?service_type=X&connector_type=Y\r\nchanged to\r\napp/enterprise_search/content/connectors/new_connector?service_type=X&connector_type=Y\r\n```\r\n\r\nNew web crawler:\r\n```\r\napp/enterprise_search/content/search_indices/new_index/crawler\r\nchanged to\r\napp/enterprise_search/content/crawlers/new_crawler\r\n```\r\n\r\n### Index of Web Crawlers\r\n\r\nBreadcrumbs were changed to \"Web crawlers\"\r\n\r\nBefore: \r\n<img width=\"455\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/edd20cf5-40d1-40e8-aa74-3382e0fd2d32\">\r\n\r\nAfter:\r\n<img width=\"455\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/4c7941a7-a9b4-4b18-8920-0002a1bf8e78\">\r\n\r\n### Create Web Crawler\r\n\r\nBreadcrumbs and sidebar navigation were changed to \"Web crawlers\"\r\n\r\nBefore:\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/4e4182ca-5e75-471a-b0fc-4cc43b2d4fd5\">\r\n\r\nAfter:\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/e06190ce-9819-419c-9885-2dee3a93794f\">\r\n\r\n### Select Connector\r\n\r\nBreadcrumb was changed to \"Connectors\"\r\n\r\nBefore:\r\n<img width=\"553\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/6472e28e-0123-4327-9afb-118f99e50662\">\r\n\r\nAfter:\r\n<img width=\"553\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/7b5cdc89-2d35-4dd9-923f-66cba122c65d\">\r\n\r\n### Create connector\r\n\r\nBreadcrumb was fixed + sidebar navigation during actual creation is now\r\nfixed. Notice, than breadcrumb now mentions connector name!\r\n\r\nBefore:\r\n\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/2baeb13c-be55-4503-8b90-4b4e152e0e35\">\r\n\r\nAfter:\r\n\r\n<img width=\"931\" alt=\"image\"\r\nsrc=\"https://github.com/elastic/kibana/assets/12238374/c005567b-5da7-4405-a484-4a54fa84be60\">\r\n\r\n\r\n### Checklist\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\r\n### Release Note\r\n\r\nFix breadcrumbs for several Elastic Search Content pages.","sha":"a199e7847182f4746cf07768c50a2aad1df04121"}}]}] BACKPORT--> Co-authored-by: Artem Shelkovnikov <[email protected]>
- Loading branch information