mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-22 14:27:18 +00:00

The following PRs add support for a custom `_info` directory containing metadata such an image URL, display name, logo, etc in `etcher-image-stream`: - https://github.com/resin-io-modules/etcher-image-stream/pull/16 - https://github.com/resin-io-modules/etcher-image-stream/pull/14 - https://github.com/resin-io-modules/etcher-image-stream/pull/13 Now that this module supports such metadata, we make use of it in the GUI as follows: - The file name is replaced with the display name. - The file name links to the image URL. - The "Select Image" logo is replaced with the image logo. Some miscellaneous changes introduces in this PR to support the changes described above: - Implement `SelectionStateModel.getImageUrl()`. - Implement `SelectionStateModel.getImageLogo()`. - Implement `SelectionStateModel.getImageName()`. - Ignore the "logo" image property when displaying the "Select image" event, in order to not fill the console with SVG contents. - Make `svg-icon` understand SVG strings as paths. - Make `svg-icon` react to changes to the `path` attribute. - Extract the core functionality of `openExternal` into `OSOpenExternalService`. - Upgrade `etcher-image-stream` to v3.0.1. Change-Type: minor Changelog-Entry: Support rich image extensions. Fixes: https://github.com/resin-io/etcher/issues/470 Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>