From d231970a8d49d6d5c61674c4828aa10e80af3974 Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Sun, 20 Mar 2022 00:28:04 +0530 Subject: [PATCH 1/5] Knative Service icon could contain a Knative logo. --- src/servingTree/servingTreeItem.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/servingTree/servingTreeItem.ts b/src/servingTree/servingTreeItem.ts index d7073dec..f7417db5 100644 --- a/src/servingTree/servingTreeItem.ts +++ b/src/servingTree/servingTreeItem.ts @@ -53,14 +53,14 @@ const CONTEXT_DATA: contextDataType = { getChildren: () => [], }, service: { - icon: 'service.svg', + icon: 'knative-logo.svg', // icon: 'SVC.svg', tooltip: 'Service: {name}', description: '', getChildren: () => [], }, service_modified: { - icon: 'service.svg', + icon: 'knative-logo.svg', // icon: 'SVC.svg', tooltip: 'Service: {name} modified', description: 'modified', From e0651676fa0b47a4f547e8f5f8e1dfb76bc3f199 Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Mon, 28 Mar 2022 14:14:48 +0530 Subject: [PATCH 2/5] update icon --- images/context/broker.svg | 266 +----------------- images/context/channel.svg | 206 +------------- images/context/function.svg | 7 + images/context/revision.svg | 163 +---------- images/context/service.svg | 214 +------------- images/context/source-generic.svg | 215 +++++++------- images/context/source.svg | 7 + images/context/subscription.svg | 143 +--------- images/context/trigger.svg | 167 +---------- src/eventingTree/eventingTreeItem.ts | 12 +- .../function-tree-view/functionsTreeItem.ts | 10 +- src/servingTree/servingTreeItem.ts | 4 +- 12 files changed, 168 insertions(+), 1246 deletions(-) create mode 100644 images/context/function.svg create mode 100644 images/context/source.svg diff --git a/images/context/broker.svg b/images/context/broker.svg index a7090913..5b8a0465 100644 --- a/images/context/broker.svg +++ b/images/context/broker.svg @@ -1,261 +1,7 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - e - + + + + B + + diff --git a/images/context/channel.svg b/images/context/channel.svg index 4bedbdc3..352d09f1 100644 --- a/images/context/channel.svg +++ b/images/context/channel.svg @@ -1,201 +1,7 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - e - - - - - - - - - - - - - - - - + + + + C + + diff --git a/images/context/function.svg b/images/context/function.svg new file mode 100644 index 00000000..d220d6eb --- /dev/null +++ b/images/context/function.svg @@ -0,0 +1,7 @@ + + + + FN + + + diff --git a/images/context/revision.svg b/images/context/revision.svg index 1d7a53c0..0d1ab0bd 100644 --- a/images/context/revision.svg +++ b/images/context/revision.svg @@ -1,158 +1,7 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - + + + + REV + + diff --git a/images/context/service.svg b/images/context/service.svg index 1768e50c..6c8d46df 100644 --- a/images/context/service.svg +++ b/images/context/service.svg @@ -1,209 +1,7 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + KSVC + + diff --git a/images/context/source-generic.svg b/images/context/source-generic.svg index 8ab6be41..d05b9b1e 100644 --- a/images/context/source-generic.svg +++ b/images/context/source-generic.svg @@ -1,149 +1,148 @@ + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + width="16px" + height="16px" + viewBox="0 0 50 50" + version="1.1" + id="svg855" + inkscape:version="1.0.1 (3bc2e813f5, 2020-09-07)" + sodipodi:docname="source-generic.svg"> + id="defs849"/> + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.196421" + inkscape:cx="124.24596" + inkscape:cy="110.95056" + inkscape:document-units="mm" + inkscape:current-layer="layer1" + inkscape:document-rotation="0" + showgrid="false" + inkscape:window-width="1531" + inkscape:window-height="1048" + inkscape:window-x="2949" + inkscape:window-y="190" + inkscape:window-maximized="0" + units="mm" + inkscape:pagecheckerboard="true"> + type="xygrid" + id="grid2210"/> + id="metadata852"> + rdf:about=""> image/svg+xml + rdf:resource="http://purl.org/dc/dcmitype/StillImage"/> + rdf:resource="http://creativecommons.org/licenses/by/4.0/"/> + rdf:about="http://creativecommons.org/licenses/by/4.0/"> + rdf:resource="http://creativecommons.org/ns#Reproduction"/> + rdf:resource="http://creativecommons.org/ns#Distribution"/> + rdf:resource="http://creativecommons.org/ns#Notice"/> + rdf:resource="http://creativecommons.org/ns#Attribution"/> + rdf:resource="http://creativecommons.org/ns#DerivativeWorks"/> + inkscape:label="Layer 1" + inkscape:groupmode="layer" + id="layer1" + style="display:inline"> + style="fill:none;stroke:#2592b0;stroke-width:3.56745" + id="rect12930" + width="38.542324" + height="30.243765" + x="5.8033004" + y="4.7970524"/> + style="fill:none;stroke:#2592b0;stroke-width:3.53665;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 5.8033005,4.7970525 44.345628,35.040816" + id="path12932"/> + style="fill:none;stroke:#2592b0;stroke-width:3.53665;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 44.345628,4.7970525 5.8033005,35.040816" + id="path12934"/> + id="g12928" + transform="matrix(1,0,0,1.1632524,0,-7.5864094)"> + id="rect12903" + style="fill:#2592b0;fill-opacity:1;stroke:#2592b0;stroke-width:1.82127;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="m 25.504269,17.472555 a 11.853471,9.5319413 0 0 0 -10.154589,4.671174 11.853471,9.5319413 0 0 0 -8.3830807,6.627293 11.853471,9.5319413 0 0 0 -5.7242173,8.158569 11.853471,9.5319413 0 0 0 11.853644,9.531563 11.853471,9.5319413 0 0 0 0.102589,-5.13e-4 v 0.0098 h 23.720112 v -0.0088 a 11.853471,9.5319413 0 0 0 11.838891,-9.53205 11.853471,9.5319413 0 0 0 -3.710353,-6.925812 11.853471,9.5319413 0 0 0 -9.474965,-8.082782 11.853471,9.5319413 0 0 0 -10.026998,-4.448442 11.853471,9.5319413 0 0 0 -0.04103,0 z m 0.0064,1.470956 a 10.024303,8.0610196 0 0 1 0.03462,0 10.024303,8.0610196 0 0 1 7.595746,2.801673 11.853471,9.5319413 0 0 0 -6.44e-4,0 10.024303,8.0610196 0 0 1 1.281665,1.520967 10.024303,8.0610196 0 0 1 0.0045,5.16e-4 10.024303,8.0610196 0 0 1 0.442399,0.04795 10.024303,8.0610196 0 0 1 0.0064,9.96e-4 10.024303,8.0610196 0 0 1 0.0045,5.16e-4 10.024303,8.0610196 0 0 1 0.02437,0.0031 10.024303,8.0610196 0 0 1 0.23338,0.033 10.024303,8.0610196 0 0 1 0.03848,0.0057 10.024303,8.0610196 0 0 1 0.0045,5.16e-4 10.024303,8.0610196 0 0 1 0.144899,0.0232 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.144899,0.02475 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.144261,0.0263 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.143618,0.02836 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.142979,0.03042 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.142335,0.03197 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.141696,0.03351 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.141054,0.03558 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.140412,0.03712 10.024303,8.0610196 0 0 1 0.0045,9.97e-4 10.024303,8.0610196 0 0 1 0.139773,0.03918 10.024303,8.0610196 0 0 1 0.0077,0.0021 10.024303,8.0610196 0 0 1 6.124297,4.970726 11.853471,9.5319413 0 0 0 -0.0045,-0.002 10.024303,8.0610196 0 0 1 0.524464,2.073672 10.024303,8.0610196 0 0 1 0.0026,0.0015 10.024303,8.0610196 0 0 1 0.11669,0.07888 10.024303,8.0610196 0 0 1 0.05963,0.04125 10.024303,8.0610196 0 0 1 0.05578,0.03919 10.024303,8.0610196 0 0 1 0.05834,0.04176 10.024303,8.0610196 0 0 1 0.05514,0.04021 10.024303,8.0610196 0 0 1 0.0577,0.04227 10.024303,8.0610196 0 0 1 0.05449,0.04073 10.024303,8.0610196 0 0 1 0.05706,0.04331 10.024303,8.0610196 0 0 1 0.05321,0.04125 10.024303,8.0610196 0 0 1 0.05642,0.04434 10.024303,8.0610196 0 0 1 0.05258,0.04176 10.024303,8.0610196 0 0 1 0.01859,0.01494 10.024303,8.0610196 0 0 1 0.08848,0.07218 10.024303,8.0610196 0 0 1 0.05449,0.04537 10.024303,8.0610196 0 0 1 0.05129,0.04331 10.024303,8.0610196 0 0 1 0.01283,0.01135 10.024303,8.0610196 0 0 1 0.09104,0.07836 10.024303,8.0610196 0 0 1 0.01029,0.0093 10.024303,8.0610196 0 0 1 0.192348,0.174268 10.024303,8.0610196 0 0 1 0.05129,0.04796 10.024303,8.0610196 0 0 1 0.04744,0.04537 10.024303,8.0610196 0 0 1 0.05002,0.04846 10.024303,8.0610196 0 0 1 0.04681,0.0464 10.024303,8.0610196 0 0 1 6.42e-4,9.58e-4 10.024303,8.0610196 0 0 1 0.187857,0.191798 10.024303,8.0610196 0 0 1 0.04744,0.05052 10.024303,8.0610196 0 0 1 0.0077,0.0088 10.024303,8.0610196 0 0 1 0.08271,0.08971 10.024303,8.0610196 0 0 1 0.0686,0.07734 10.024303,8.0610196 0 0 1 1.840111,4.654159 10.024303,8.0610196 0 0 1 -9.832731,8.059578 v 0.0046 H 35.081818 15.035516 13.45379 v -0.0082 a 10.024303,8.0610196 0 0 1 -0.255179,0.0046 10.024303,8.0610196 0 0 1 -0.102589,5.16e-4 10.024303,8.0610196 0 0 1 -10.0244338,-8.061125 10.024303,8.0610196 0 0 1 3.4673575,-6.097272 11.853471,9.5319413 0 0 0 0,5.15e-4 10.024303,8.0610196 0 0 1 0.1160488,-0.0794 10.024303,8.0610196 0 0 1 0.1179723,-0.07836 10.024303,8.0610196 0 0 1 0.1186133,-0.0763 10.024303,8.0610196 0 0 1 0.1205367,-0.07528 10.024303,8.0610196 0 0 1 0.1218191,-0.07373 10.024303,8.0610196 0 0 1 0.1237428,-0.07217 10.024303,8.0610196 0 0 1 0.1243839,-0.07064 10.024303,8.0610196 0 0 1 0.126307,-0.06907 10.024303,8.0610196 0 0 1 0.080143,-0.0433 10.024303,8.0610196 0 0 1 0.025646,-0.0134 10.024303,8.0610196 0 0 1 0.048086,-0.02526 10.024303,8.0610196 0 0 1 0.1019435,-0.05207 10.024303,8.0610196 0 0 1 0.081426,-0.04125 10.024303,8.0610196 0 0 1 0.03975,-0.01907 10.024303,8.0610196 0 0 1 0.021799,-0.01031 10.024303,8.0610196 0 0 1 0.1045073,-0.05053 10.024303,8.0610196 0 0 1 0.028853,-0.0134 10.024303,8.0610196 0 0 1 0.2500499,-0.113429 10.024303,8.0610196 0 0 1 0.083992,-0.03712 10.024303,8.0610196 0 0 1 0.028211,-0.01186 10.024303,8.0610196 0 0 1 0.05001,-0.02115 10.024303,8.0610196 0 0 1 0.096815,-0.04021 10.024303,8.0610196 0 0 1 8.0124957,-6.317927 10.024303,8.0610196 0 0 1 8.948577,-4.484018 z"/> + style="fill:#ffffff;fill-opacity:1;stroke:#2592b0;stroke-width:0.432522;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" + d="M 12.014333,43.999449 C 10.740241,43.879701 9.2867999,43.460027 8.1728887,42.890248 6.0982655,41.829051 4.7049773,40.218207 4.1901487,38.285618 4.0106445,37.611786 3.9955577,36.375712 4.1585376,35.695704 4.6778885,33.528795 6.3277817,31.744525 8.8114757,30.663803 L 9.3590709,30.42553 9.4654871,30.003916 C 10.180435,27.17133 13.081444,24.894812 16.651274,24.364989 l 0.497191,-0.07379 0.266467,-0.426207 c 1.639858,-2.622904 5.266229,-4.226887 8.927986,-3.948945 2.125027,0.161298 4.035213,0.844638 5.531342,1.978752 0.559316,0.42398 1.353947,1.256601 1.685943,1.766544 l 0.300638,0.461781 0.512475,0.06704 c 2.599348,0.340045 4.584583,1.219777 6.051758,2.681762 1.121839,1.117869 1.805335,2.465686 1.936004,3.817696 0.04524,0.468113 0.121428,0.570002 0.806411,1.07847 0.957474,0.710739 1.854618,1.785975 2.288407,2.742681 0.09921,0.218804 0.253122,0.635908 0.342022,0.926897 0.146582,0.479795 0.161636,0.618823 0.161636,1.492759 0,0.873936 -0.01505,1.012964 -0.161636,1.492759 -0.604626,1.979061 -1.947778,3.475589 -4.065868,4.53016 -1.153605,0.574363 -2.393934,0.914144 -3.843382,1.05287 -0.78725,0.07535 -25.068213,0.06899 -25.874335,-0.0068 z" + id="path13295"/> + + + S + + + diff --git a/images/context/subscription.svg b/images/context/subscription.svg index 8c9bfa11..0ad23dd3 100644 --- a/images/context/subscription.svg +++ b/images/context/subscription.svg @@ -1,138 +1,7 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - e - + + + + SUB + + diff --git a/images/context/trigger.svg b/images/context/trigger.svg index f76487a8..6a83d723 100644 --- a/images/context/trigger.svg +++ b/images/context/trigger.svg @@ -1,162 +1,7 @@ - - - - - - - - - - image/svg+xml - - - - - - - - - - - - - - - - - - - e - - + + + + T + + diff --git a/src/eventingTree/eventingTreeItem.ts b/src/eventingTree/eventingTreeItem.ts index 246267a1..9404390f 100644 --- a/src/eventingTree/eventingTreeItem.ts +++ b/src/eventingTree/eventingTreeItem.ts @@ -45,15 +45,13 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, source_apiserver: { - icon: 'source-generic.svg', - // icon: 'EVT.svg', + icon: 'source.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], }, source_binding: { - icon: 'source-generic.svg', - // icon: 'EVT.svg', + icon: 'source.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], @@ -65,15 +63,13 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, source: { - icon: 'source-generic.svg', - // icon: 'EVT.svg', + icon: 'source.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], }, source_ping: { - icon: 'source-generic.svg', - // icon: 'EVT.svg', + icon: 'source.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], diff --git a/src/functions/function-tree-view/functionsTreeItem.ts b/src/functions/function-tree-view/functionsTreeItem.ts index 5ebc6fcd..0482020b 100644 --- a/src/functions/function-tree-view/functionsTreeItem.ts +++ b/src/functions/function-tree-view/functionsTreeItem.ts @@ -46,31 +46,31 @@ export class FunctionNodeImpl implements FunctionNode { getChildren: () => this.func.getTreeFunction(this), }, localFunctions: { - icon: 'service.svg', + icon: 'function.svg', tooltip: '{label}', description: '', getChildren: (): undefined[] => [], }, localFunctionsEnablement: { - icon: 'service.svg', + icon: 'function.svg', tooltip: '{label}', description: '', getChildren: (): undefined[] => [], }, functions: { - icon: 'service.svg', + icon: 'function.svg', tooltip: 'Function: {label}', description: '', getChildren: (): undefined[] => [], }, deployFunctions: { - icon: 'service.svg', + icon: 'function.svg', tooltip: 'Function: {label}', description: '', getChildren: (): undefined[] => [], }, localDeployFunctions: { - icon: 'service.svg', + icon: 'function.svg', tooltip: '{label}', description: '', getChildren: (): undefined[] => [], diff --git a/src/servingTree/servingTreeItem.ts b/src/servingTree/servingTreeItem.ts index f7417db5..d7073dec 100644 --- a/src/servingTree/servingTreeItem.ts +++ b/src/servingTree/servingTreeItem.ts @@ -53,14 +53,14 @@ const CONTEXT_DATA: contextDataType = { getChildren: () => [], }, service: { - icon: 'knative-logo.svg', + icon: 'service.svg', // icon: 'SVC.svg', tooltip: 'Service: {name}', description: '', getChildren: () => [], }, service_modified: { - icon: 'knative-logo.svg', + icon: 'service.svg', // icon: 'SVC.svg', tooltip: 'Service: {name} modified', description: 'modified', From 05fe39a3bda75a60272cf7bd0880b9a5c4a2fb70 Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Mon, 28 Mar 2022 17:52:28 +0530 Subject: [PATCH 3/5] Fix size --- images/context/broker.svg | 17 +++++++++++------ images/context/function.svg | 17 +++++++++++------ images/context/revision.svg | 17 +++++++++++------ images/context/service.svg | 17 +++++++++++------ images/context/source.svg | 17 +++++++++++------ images/context/subscription.svg | 17 +++++++++++------ images/context/trigger.svg | 17 +++++++++++------ src/cli/cli-config.json | 18 +++++++++--------- 8 files changed, 86 insertions(+), 51 deletions(-) diff --git a/images/context/broker.svg b/images/context/broker.svg index 5b8a0465..3934df56 100644 --- a/images/context/broker.svg +++ b/images/context/broker.svg @@ -1,7 +1,12 @@ - - - B - - - + + + B + + + \ No newline at end of file diff --git a/images/context/function.svg b/images/context/function.svg index d220d6eb..dfdd2be5 100644 --- a/images/context/function.svg +++ b/images/context/function.svg @@ -1,7 +1,12 @@ - - - FN - - - + + + FN + + + \ No newline at end of file diff --git a/images/context/revision.svg b/images/context/revision.svg index 0d1ab0bd..bef34eeb 100644 --- a/images/context/revision.svg +++ b/images/context/revision.svg @@ -1,7 +1,12 @@ - - - REV - - - + + + REV + + + \ No newline at end of file diff --git a/images/context/service.svg b/images/context/service.svg index 6c8d46df..12a956f4 100644 --- a/images/context/service.svg +++ b/images/context/service.svg @@ -1,7 +1,12 @@ - - - KSVC - - - + + + KSVC + + + \ No newline at end of file diff --git a/images/context/source.svg b/images/context/source.svg index 058675b0..0a975c34 100644 --- a/images/context/source.svg +++ b/images/context/source.svg @@ -1,7 +1,12 @@ - - - S - - - + + + C + + + \ No newline at end of file diff --git a/images/context/subscription.svg b/images/context/subscription.svg index 0ad23dd3..cae434dc 100644 --- a/images/context/subscription.svg +++ b/images/context/subscription.svg @@ -1,7 +1,12 @@ - - - SUB - - - + + + SUB + + + \ No newline at end of file diff --git a/images/context/trigger.svg b/images/context/trigger.svg index 6a83d723..6615b6e2 100644 --- a/images/context/trigger.svg +++ b/images/context/trigger.svg @@ -1,7 +1,12 @@ - - - T - - - + + + T + + + \ No newline at end of file diff --git a/src/cli/cli-config.json b/src/cli/cli-config.json index c707d29f..5922ba5c 100644 --- a/src/cli/cli-config.json +++ b/src/cli/cli-config.json @@ -3,28 +3,28 @@ "description": "Knative CLI tool", "vendor": "Red Hat, Inc.", "name": "kn", - "version": "0.21.0", - "versionRange": "0.21.0 - 1.0.0", - "versionRangeLabel": "v0.21.0", + "version": "1.3.1", + "versionRange": "1.3.1", + "versionRangeLabel": "v1.3.1", "versionLocalBuildRange": 20210101, "dlFileName": "kn", "cmdFileName": "kn", "filePrefix": "", "platform": { "win32": { - "url": "https://github.com/knative/client/releases/download/v0.21.0/kn-windows-amd64.exe", - "sha256sum": "e49e41e30fe13b9cefd51a0fbda14526cb36a82c5f880dcc75ea0fe8e6599aa3", + "url": "https://github.com/knative/client/releases/download/knative-v1.3.1/kn-windows-amd64.exe", + "sha256sum": "9986f5e886bffc711450552e1d1da7000007c528506a9c7460d7245de1b1eb80", "dlFileName": "kn-windows-amd64.exe", "cmdFileName": "kn.exe" }, "darwin": { - "url": "https://github.com/knative/client/releases/download/v0.21.0/kn-darwin-amd64", - "sha256sum": "6daa5a9f1108b71bfcd22f293494f6b4bfd6d2937f76e8f7ba48e1d969e68d31", + "url": "https://github.com/knative/client/releases/download/knative-v1.3.1/kn-darwin-amd64", + "sha256sum": "96fc0ac7442bd5cc3b2cded41e4860508ec8862030eef1e8608f9fd422adabbe", "dlFileName": "kn-darwin-amd64" }, "linux": { - "url": "https://github.com/knative/client/releases/download/v0.21.0/kn-linux-amd64", - "sha256sum": "f57427f523b2d882af796a87be47ffb061c2c0a0543b851af74f58ac2945f910", + "url": "https://github.com/knative/client/releases/download/knative-v1.3.1/kn-linux-amd64", + "sha256sum": "313f45643e1b16731db405775841cbfe837c0d0be7f1faf18a31593210c5ce1b", "dlFileName": "kn-linux-amd64" } } From 59b2d44f9ec3357a44073f59b4d5aaa543931487 Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Mon, 28 Mar 2022 18:04:00 +0530 Subject: [PATCH 4/5] Fix icon --- src/cli/cli-config.json | 18 +++++++++--------- src/eventingTree/eventingTreeItem.ts | 10 +++++----- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/cli/cli-config.json b/src/cli/cli-config.json index 5922ba5c..c707d29f 100644 --- a/src/cli/cli-config.json +++ b/src/cli/cli-config.json @@ -3,28 +3,28 @@ "description": "Knative CLI tool", "vendor": "Red Hat, Inc.", "name": "kn", - "version": "1.3.1", - "versionRange": "1.3.1", - "versionRangeLabel": "v1.3.1", + "version": "0.21.0", + "versionRange": "0.21.0 - 1.0.0", + "versionRangeLabel": "v0.21.0", "versionLocalBuildRange": 20210101, "dlFileName": "kn", "cmdFileName": "kn", "filePrefix": "", "platform": { "win32": { - "url": "https://github.com/knative/client/releases/download/knative-v1.3.1/kn-windows-amd64.exe", - "sha256sum": "9986f5e886bffc711450552e1d1da7000007c528506a9c7460d7245de1b1eb80", + "url": "https://github.com/knative/client/releases/download/v0.21.0/kn-windows-amd64.exe", + "sha256sum": "e49e41e30fe13b9cefd51a0fbda14526cb36a82c5f880dcc75ea0fe8e6599aa3", "dlFileName": "kn-windows-amd64.exe", "cmdFileName": "kn.exe" }, "darwin": { - "url": "https://github.com/knative/client/releases/download/knative-v1.3.1/kn-darwin-amd64", - "sha256sum": "96fc0ac7442bd5cc3b2cded41e4860508ec8862030eef1e8608f9fd422adabbe", + "url": "https://github.com/knative/client/releases/download/v0.21.0/kn-darwin-amd64", + "sha256sum": "6daa5a9f1108b71bfcd22f293494f6b4bfd6d2937f76e8f7ba48e1d969e68d31", "dlFileName": "kn-darwin-amd64" }, "linux": { - "url": "https://github.com/knative/client/releases/download/knative-v1.3.1/kn-linux-amd64", - "sha256sum": "313f45643e1b16731db405775841cbfe837c0d0be7f1faf18a31593210c5ce1b", + "url": "https://github.com/knative/client/releases/download/v0.21.0/kn-linux-amd64", + "sha256sum": "f57427f523b2d882af796a87be47ffb061c2c0a0543b851af74f58ac2945f910", "dlFileName": "kn-linux-amd64" } } diff --git a/src/eventingTree/eventingTreeItem.ts b/src/eventingTree/eventingTreeItem.ts index 9404390f..8b608b37 100644 --- a/src/eventingTree/eventingTreeItem.ts +++ b/src/eventingTree/eventingTreeItem.ts @@ -26,7 +26,7 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, broker_folder: { - icon: 'folder-opened.svg', + icon: 'broker.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], @@ -39,7 +39,7 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, channel_folder: { - icon: 'folder-opened.svg', + icon: 'channel.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], @@ -57,7 +57,7 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, source_folder: { - icon: 'folder-opened.svg', + icon: 'source.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], @@ -82,7 +82,7 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, subscription_folder: { - icon: 'folder-opened.svg', + icon: 'subscription.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], @@ -95,7 +95,7 @@ const CONTEXT_DATA = { getChildren: (): undefined[] => [], }, trigger_folder: { - icon: 'folder-opened.svg', + icon: 'trigger.svg', tooltip: '', description: '', getChildren: (): undefined[] => [], From 28cb9a7a930d174b0b09dc2b3e34d2167450c466 Mon Sep 17 00:00:00 2001 From: Sudhir Verma Date: Mon, 28 Mar 2022 18:48:44 +0530 Subject: [PATCH 5/5] Fix review --- images/context/broker.svg | 10 +++++----- images/context/channel.svg | 17 +++++++++++------ images/context/function.svg | 6 +++--- images/context/revision.svg | 10 +++++----- images/context/service.svg | 10 +++++----- images/context/source.svg | 6 +++--- images/context/subscription.svg | 10 +++++----- images/context/trigger.svg | 10 +++++----- 8 files changed, 42 insertions(+), 37 deletions(-) diff --git a/images/context/broker.svg b/images/context/broker.svg index 3934df56..e5bfa03c 100644 --- a/images/context/broker.svg +++ b/images/context/broker.svg @@ -1,10 +1,10 @@ - - + - B + B - - - C - - - + + + C + + + \ No newline at end of file diff --git a/images/context/function.svg b/images/context/function.svg index dfdd2be5..15d5b964 100644 --- a/images/context/function.svg +++ b/images/context/function.svg @@ -2,9 +2,9 @@ - FN + FN - - + - REV + REV - - + - KSVC + KSVC - C + S - - + - SUB + SUB - - + - T + T