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

Use iconData and iconMediatype attributes for icon #1845

Merged
merged 1 commit into from
May 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api/v2/checluster_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ type CheClusterDevEnvironments struct {
// +optional
TrustedCerts *TrustedCerts `json:"trustedCerts,omitempty"`
// The default editor to workspace create with. It could be a plugin ID or a URI.
// The plugin ID must have `publisher/plugin/version` format.
// The plugin ID must have `publisher/name/version` format.
// The URI must start from `http://` or `https://`.
// +optional
DefaultEditor string `json:"defaultEditor,omitempty"`
Expand Down Expand Up @@ -473,6 +473,7 @@ type PersistentHomeConfig struct {

type WorkspaceDefaultPlugins struct {
// The editor ID to specify default plug-ins for.
// The plugin ID must have `publisher/name/version` format.
Editor string `json:"editor,omitempty"`
// Default plug-in URIs for the specified editor.
Plugins []string `json:"plugins,omitempty"`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ metadata:
operators.operatorframework.io/project_layout: go.kubebuilder.io/v3
repository: https://github.com/eclipse-che/che-operator
support: Eclipse Foundation
name: eclipse-che.v7.87.0-869.next
name: eclipse-che.v7.87.0-870.next
namespace: placeholder
spec:
apiservicedefinitions: {}
Expand Down Expand Up @@ -1032,7 +1032,7 @@ spec:
minKubeVersion: 1.19.0
provider:
name: Eclipse Foundation
version: 7.87.0-869.next
version: 7.87.0-870.next
webhookdefinitions:
- admissionReviewVersions:
- v1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6755,7 +6755,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It
could be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
could be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6785,7 +6785,8 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins
for.
for. The plugin ID must have `publisher/name/version`
format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
3 changes: 2 additions & 1 deletion config/crd/bases/org.eclipse.che_checlusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6564,7 +6564,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6594,6 +6594,7 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins for.
The plugin ID must have `publisher/name/version` format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
3 changes: 2 additions & 1 deletion deploy/deployment/kubernetes/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6583,7 +6583,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6613,6 +6613,7 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins for.
The plugin ID must have `publisher/name/version` format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6578,7 +6578,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6608,6 +6608,7 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins for.
The plugin ID must have `publisher/name/version` format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
3 changes: 2 additions & 1 deletion deploy/deployment/openshift/combined.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6583,7 +6583,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6613,6 +6613,7 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins for.
The plugin ID must have `publisher/name/version` format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6578,7 +6578,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6608,6 +6608,7 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins for.
The plugin ID must have `publisher/name/version` format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
4 changes: 2 additions & 2 deletions editors-definitions/che-code-insiders.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ metadata:
build
repository: https://github.com/che-incubator/che-code
firstPublicationDate: '2021-10-31'
icon-mediatype: image/svg+xml
icon-data: |
iconMediatype: image/svg+xml
iconData: |
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="100" height="100">
<path fill-rule="evenodd" clip-rule="evenodd" d="M70.9119 99.3171C72.4869 99.9307 74.2828 99.8914 75.8725 99.1264L96.4608 89.2197C98.6242 88.1787 100 85.9892 100 83.5872V16.4133C100 14.0113 98.6243 11.8218 96.4609 10.7808L75.8725 0.873756C73.7862 -0.130129 71.3446 0.11576 69.5135 1.44695C69.252 1.63711 69.0028 1.84943 68.769 2.08341L29.3551 38.0415L12.1872 25.0096C10.589 23.7965 8.35363 23.8959 6.86933 25.2461L1.36303 30.2549C-0.452552 31.9064 -0.454633 34.7627 1.35853 36.417L16.2471 50.0001L1.35853 63.5832C-0.454633 65.2374 -0.452552 68.0938 1.36303 69.7453L6.86933 74.7541C8.35363 76.1043 10.589 76.2037 12.1872 74.9905L29.3551 61.9587L68.769 97.9167C69.3925 98.5406 70.1246 99.0104 70.9119 99.3171ZM75.0152 27.2989L45.1091 50.0001L75.0152 72.7012V27.2989Z" fill="white"/>
Expand Down
4 changes: 2 additions & 2 deletions editors-definitions/che-code-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ metadata:
title: Microsoft Visual Studio Code - Open Source IDE for Eclipse Che
repository: https://github.com/che-incubator/che-code
firstPublicationDate: '2021-10-31'
icon-mediatype: image/svg+xml
icon-data: |
iconMediatype: image/svg+xml
iconData: |
<svg width="100" height="100" viewBox="0 0 100 100" fill="none" xmlns="http://www.w3.org/2000/svg">
<mask id="mask0" mask-type="alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="100" height="100">
<path fill-rule="evenodd" clip-rule="evenodd" d="M70.9119 99.3171C72.4869 99.9307 74.2828 99.8914 75.8725 99.1264L96.4608 89.2197C98.6242 88.1787 100 85.9892 100 83.5872V16.4133C100 14.0113 98.6243 11.8218 96.4609 10.7808L75.8725 0.873756C73.7862 -0.130129 71.3446 0.11576 69.5135 1.44695C69.252 1.63711 69.0028 1.84943 68.769 2.08341L29.3551 38.0415L12.1872 25.0096C10.589 23.7965 8.35363 23.8959 6.86933 25.2461L1.36303 30.2549C-0.452552 31.9064 -0.454633 34.7627 1.35853 36.417L16.2471 50.0001L1.35853 63.5832C-0.454633 65.2374 -0.452552 68.0938 1.36303 69.7453L6.86933 74.7541C8.35363 76.1043 10.589 76.2037 12.1872 74.9905L29.3551 61.9587L68.769 97.9167C69.3925 98.5406 70.1246 99.0104 70.9119 99.3171ZM75.0152 27.2989L45.1091 50.0001L75.0152 72.7012V27.2989Z" fill="white"/>
Expand Down
4 changes: 2 additions & 2 deletions editors-definitions/che-idea-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ metadata:
title: JetBrains IntelliJ IDEA Community IDE for Eclipse Che
repository: https://github.com/che-incubator/jetbrains-editor-images
firstPublicationDate: '2022-01-11'
icon-mediatype: image/svg+xml
icon-data: |
iconMediatype: image/svg+xml
iconData: |
<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" fill="none" viewBox="0 0 70 70">
<defs>
<linearGradient id="a" x1="5.17435" x2="40.0136" y1="39.8894" y2="38.1233" gradientUnits="userSpaceOnUse">
Expand Down
4 changes: 2 additions & 2 deletions editors-definitions/che-idea-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ metadata:
title: JetBrains IntelliJ IDEA Community IDE for Eclipse Che - next
repository: https://github.com/che-incubator/jetbrains-editor-images
firstPublicationDate: '2022-01-11'
icon-mediatype: image/svg+xml
icon-data: |
iconMediatype: image/svg+xml
iconData: |
<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" fill="none" viewBox="0 0 70 70">
<defs>
<linearGradient id="a" x1="5.17435" x2="40.0136" y1="39.8894" y2="38.1233" gradientUnits="userSpaceOnUse">
Expand Down
4 changes: 2 additions & 2 deletions editors-definitions/che-idea-server-latest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ metadata:
title: JetBrains IntelliJ IDEA Ultimate dev server for Eclipse Che - latest
repository: https://github.com/che-incubator/che-idea-dev-server
firstPublicationDate: '2023-30-11'
icon-mediatype: image/svg+xml
icon-data: |
iconMediatype: image/svg+xml
iconData: |
<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" fill="none" viewBox="0 0 70 70">
<defs>
<linearGradient id="a" x1="5.17435" x2="40.0136" y1="39.8894" y2="38.1233" gradientUnits="userSpaceOnUse">
Expand Down
4 changes: 2 additions & 2 deletions editors-definitions/che-idea-server-next.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ metadata:
title: JetBrains IntelliJ IDEA Ultimate dev server for Eclipse Che - next
repository: https://github.com/che-incubator/che-idea-dev-server
firstPublicationDate: '2023-30-11'
icon-mediatype: image/svg+xml
icon-data: |
iconMediatype: image/svg+xml
iconData: |
<svg xmlns="http://www.w3.org/2000/svg" width="70" height="70" fill="none" viewBox="0 0 70 70">
<defs>
<linearGradient id="a" x1="5.17435" x2="40.0136" y1="39.8894" y2="38.1233" gradientUnits="userSpaceOnUse">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6578,7 +6578,7 @@ spec:
type: array
defaultEditor:
description: The default editor to workspace create with. It could
be a plugin ID or a URI. The plugin ID must have `publisher/plugin/version`
be a plugin ID or a URI. The plugin ID must have `publisher/name/version`
format. The URI must start from `http://` or `https://`.
type: string
defaultNamespace:
Expand Down Expand Up @@ -6608,6 +6608,7 @@ spec:
properties:
editor:
description: The editor ID to specify default plug-ins for.
The plugin ID must have `publisher/name/version` format.
type: string
plugins:
description: Default plug-in URIs for the specified editor.
Expand Down
Loading