Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.15] [Automatic Import] Correctly output icons in the manifest (#20…
…1139) (#201222) # Backport This will backport the following commits from `main` to `8.15`: - [[Automatic Import] Correctly output icons in the manifest (#201139)](#201139) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Ilya Nikokoshev","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-11-21T15:34:07Z","message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["bug","release_note:fix","v9.0.0","backport:prev-major","8.17 candidate","Team:Security-Scalability","Feature:AutomaticImport"],"title":"[Automatic Import] Correctly output icons in the manifest","number":201139,"url":"https://github.com/elastic/kibana/pull/201139","mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/201139","number":201139,"mergeCommit":{"message":"[Automatic Import] Correctly output icons in the manifest (#201139)\n\n## Release Note\r\n\r\nFixes a bug in Automatic Import where icons were not shown after the\r\nintegration was installed.\r\n\r\n## Summary\r\n\r\nCloses #201008.\r\n\r\nWhen implementing safe manifest output #192316 a bug crept in:\r\nthe icons array was incorrectly output as a dictionary\r\n\r\n icons:\r\n src: /img/logoElastic.svg\r\n title: syslog_test3 Logo\r\n size: 32x32\r\n type: image/svg+xml\r\n\r\nand the test was not smart enough to pick it up:\r\n\r\n expect(manifest.icons).toBeTruthy();\r\n\r\nWe fix the field and add better tests for it.","sha":"30e075a1b601a9bd5564667b67b3112479d1eebc"}}]}] BACKPORT--> Co-authored-by: Ilya Nikokoshev <[email protected]>
- Loading branch information